EVP_PKEY_encrypt() simplify example
authortb <tb@openbsd.org>
Sun, 19 Nov 2023 10:09:27 +0000 (10:09 +0000)
committertb <tb@openbsd.org>
Sun, 19 Nov 2023 10:09:27 +0000 (10:09 +0000)
commit9a2973ba6722d7f6f483e43824f46bc0d6e3aa6a
tree1dbf247dac3aca4b4133149267525f762e69f7fe
parent95489d3b985bce8fa4357767c41729b25be39802
EVP_PKEY_encrypt() simplify example

In particular, do not use an uninitialized engine, simply pass NULL.
lib/libcrypto/man/EVP_PKEY_encrypt.3