summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/genpkey.c
diff options
context:
space:
mode:
authortb <>2023-03-05 13:12:53 +0000
committertb <>2023-03-05 13:12:53 +0000
commit5956245d8bc01695eed9e4cb0c26f064a0f3612a (patch)
tree76b19fa54b61adaa3e661c0edbe7db993a361a76 /src/usr.bin/openssl/genpkey.c
parentc2a5e2c0e56b83071de488b2ae2a4a6eedf749ad (diff)
downloadopenbsd-5956245d8bc01695eed9e4cb0c26f064a0f3612a.tar.gz
openbsd-5956245d8bc01695eed9e4cb0c26f064a0f3612a.tar.bz2
openbsd-5956245d8bc01695eed9e4cb0c26f064a0f3612a.zip
openssl: make all config structs static
These are per-app, so per-file. Most of them already are static, adjust the rest of them.
Diffstat (limited to 'src/usr.bin/openssl/genpkey.c')
-rw-r--r--src/usr.bin/openssl/genpkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/genpkey.c b/src/usr.bin/openssl/genpkey.c
index 61b24af330..ce266f404c 100644
--- a/src/usr.bin/openssl/genpkey.c
+++ b/src/usr.bin/openssl/genpkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: genpkey.c,v 1.14 2022/11/11 17:07:39 joshua Exp $ */ 1/* $OpenBSD: genpkey.c,v 1.15 2023/03/05 13:12:53 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006 3 * project 2006
4 */ 4 */
@@ -68,7 +68,7 @@
68static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file); 68static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file);
69static int genpkey_cb(EVP_PKEY_CTX * ctx); 69static int genpkey_cb(EVP_PKEY_CTX * ctx);
70 70
71struct { 71static struct {
72 const EVP_CIPHER *cipher; 72 const EVP_CIPHER *cipher;
73 EVP_PKEY_CTX **ctx; 73 EVP_PKEY_CTX **ctx;
74 int do_param; 74 int do_param;