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 2752ab2eb6)
This commit is contained in:
Pauli 2022-07-20 10:09:53 +10:00
parent c17c386160
commit 32eb729a42
1 changed files with 1 additions and 2 deletions

View File

@ -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