]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix variable name mis-match in example code
authorMattias Ellert <mattias.ellert@physics.uu.se>
Sat, 25 Sep 2021 02:57:57 +0000 (04:57 +0200)
committerPauli <pauli@openssl.org>
Tue, 28 Sep 2021 01:05:58 +0000 (11:05 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16676)

doc/man7/EVP_PKEY-DH.pod

index 2c90982d072dfe3f0b7934c8079d49e6ea94cd51..cd34d323ee11dbdc9139e3da50f6660691bc65aa 100644 (file)
@@ -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: