summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-07-20 10:09:53 +1000
committerPauli <pauli@openssl.org>2022-07-22 16:15:18 +1000
commit32eb729a420e2eaaa05e9fa4abb4c93ce132cdbd (patch)
tree59cea8862251391c0f8bb294e88bc67880f200d7 /doc
parentc17c38616052f5deea4c390ec1bc5a8e3d8849cf (diff)
Fix error in example.
Fixes #18828 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18829) (cherry picked from commit 2752ab2eb61dcfc799775d34eaeda3621b85f95f)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/EVP_PKEY_gettable_params.pod3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/man3/EVP_PKEY_gettable_params.pod b/doc/man3/EVP_PKEY_gettable_params.pod
index c3dfe4e30d..1afda9c19b 100644
--- a/doc/man3/EVP_PKEY_gettable_params.pod
+++ b/doc/man3/EVP_PKEY_gettable_params.pod
@@ -92,7 +92,7 @@ buffer size to hold the value.
#include <openssl/evp.h>
- char *curve_name[64];
+ char curve_name[64];
unsigned char pub[256];
BIGNUM *bn_priv = NULL;
@@ -113,7 +113,6 @@ buffer size to hold the value.
/* Error */
}
-
BN_clear_free(bn_priv);
=head1 SEE ALSO