From: Mattias Ellert Date: Sat, 25 Sep 2021 02:57:57 +0000 (+0200) Subject: Fix variable name mis-match in example code X-Git-Tag: openssl-3.2.0-alpha1~3522 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a84567fb859ee6ae7245115b0c347994b03012;p=thirdparty%2Fopenssl.git Fix variable name mis-match in example code Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16676) --- diff --git a/doc/man7/EVP_PKEY-DH.pod b/doc/man7/EVP_PKEY-DH.pod index 2c90982d072..cd34d323ee1 100644 --- a/doc/man7/EVP_PKEY-DH.pod +++ b/doc/man7/EVP_PKEY-DH.pod @@ -156,7 +156,7 @@ A B key can be generated with a named safe prime group by calling: EVP_PKEY_CTX_set_params(pctx, params); EVP_PKEY_generate(pctx, &pkey); ... - EVP_PKEY_free(key); + EVP_PKEY_free(pkey); EVP_PKEY_CTX_free(pctx); B domain parameters can be generated according to B by calling: