From: Pauli Date: Wed, 20 Jul 2022 00:09:53 +0000 (+1000) Subject: Fix error in example. X-Git-Tag: openssl-3.2.0-alpha1~2350 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2752ab2eb61dcfc799775d34eaeda3621b85f95f;p=thirdparty%2Fopenssl.git Fix error in example. Fixes #18828 Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/18829) --- diff --git a/doc/man3/EVP_PKEY_gettable_params.pod b/doc/man3/EVP_PKEY_gettable_params.pod index 20bba142e51..ba87289937d 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 - 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