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:14:41 +1000
commit2752ab2eb61dcfc799775d34eaeda3621b85f95f (patch)
treeec002865e9eadaeabe9d668e5066ff2564de35a7 /doc
parentc00fd2dece8ba54b2597a61c8db6a001025d05d5 (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)
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 20bba142e5..ba87289937 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