summaryrefslogtreecommitdiffstats
path: root/doc/man7
diff options
context:
space:
mode:
authorMattias Ellert <mattias.ellert@physics.uu.se>2021-09-25 04:57:57 +0200
committerPauli <pauli@openssl.org>2021-09-28 11:05:58 +1000
commit29a84567fb859ee6ae7245115b0c347994b03012 (patch)
treed0f32da0f9305c9096ac1eaeccda5720588b0b01 /doc/man7
parentce0502ce1246046f78dc1e2b26a2790eceedd8b1 (diff)
Fix variable name mis-match in example code
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16676)
Diffstat (limited to 'doc/man7')
-rw-r--r--doc/man7/EVP_PKEY-DH.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man7/EVP_PKEY-DH.pod b/doc/man7/EVP_PKEY-DH.pod
index 2c90982d07..cd34d323ee 100644
--- a/doc/man7/EVP_PKEY-DH.pod
+++ b/doc/man7/EVP_PKEY-DH.pod
@@ -156,7 +156,7 @@ A B<DH> 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<DHX> domain parameters can be generated according to B<FIPS 186-4> by calling: