summaryrefslogtreecommitdiff
path: root/usr.bin/openssl/genpkey.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-05 13:12:54 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-05 13:12:54 +0000
commit2e955ba5f359988cfa707b7f8c58f7bc3ab569dd (patch)
treeb5138b4d0ac38e62dcd8951b44f29e730ddee1ae /usr.bin/openssl/genpkey.c
parent6eb39bf06ffc860ea9d43faa18c47b46995758a9 (diff)
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 'usr.bin/openssl/genpkey.c')
-rw-r--r--usr.bin/openssl/genpkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/genpkey.c b/usr.bin/openssl/genpkey.c
index 61b24af3305..ce266f404c8 100644
--- a/usr.bin/openssl/genpkey.c
+++ b/usr.bin/openssl/genpkey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: genpkey.c,v 1.14 2022/11/11 17:07:39 joshua Exp $ */
+/* $OpenBSD: genpkey.c,v 1.15 2023/03/05 13:12:53 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006
*/
@@ -68,7 +68,7 @@
static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file);
static int genpkey_cb(EVP_PKEY_CTX * ctx);
-struct {
+static struct {
const EVP_CIPHER *cipher;
EVP_PKEY_CTX **ctx;
int do_param;