]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix error in example.
authorPauli <pauli@openssl.org>
Wed, 20 Jul 2022 00:09:53 +0000 (10:09 +1000)
committerPauli <pauli@openssl.org>
Fri, 22 Jul 2022 06:14:41 +0000 (16:14 +1000)
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)

doc/man3/EVP_PKEY_gettable_params.pod

index 20bba142e517e1b16af8314ff450026844e66c8c..ba87289937d9e9504c4bb22fafc232a27b122d35 100644 (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