Fix errors in EVP_PKEY_fromdata examples
authorMatt Caswell <matt@openssl.org>
Fri, 5 Nov 2021 08:43:10 +0000 (08:43 +0000)
committerPauli <pauli@openssl.org>
Sun, 7 Nov 2021 23:01:33 +0000 (09:01 +1000)
commit4ce64ed79d301939c7f2844a9e5e5fdd2033605f
tree5a90bde0af2198f7fc9747199643f5900812f3ec
parente6a10b074e90f1ce3d8e9ae0ca740a835ff29bb9
Fix errors in EVP_PKEY_fromdata examples

The EVP_PKEY_fromdata man page has some code examples with various
errors in them. This fixes those errors.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16973)
doc/man3/EVP_PKEY_fromdata.pod