diff options
| author | tb <> | 2023-03-05 13:12:53 +0000 |
|---|---|---|
| committer | tb <> | 2023-03-05 13:12:53 +0000 |
| commit | 526ac760d941819bc6d2eefe70bf7c9c5562bc26 (patch) | |
| tree | 76b19fa54b61adaa3e661c0edbe7db993a361a76 /src/usr.bin/openssl/genpkey.c | |
| parent | 4e7dac33e741d0213d9a2de12665bb52a037a8ff (diff) | |
| download | openbsd-526ac760d941819bc6d2eefe70bf7c9c5562bc26.tar.gz openbsd-526ac760d941819bc6d2eefe70bf7c9c5562bc26.tar.bz2 openbsd-526ac760d941819bc6d2eefe70bf7c9c5562bc26.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.c | 4 |
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 @@ | |||
| 68 | static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file); | 68 | static int init_keygen_file(BIO * err, EVP_PKEY_CTX **pctx, const char *file); |
| 69 | static int genpkey_cb(EVP_PKEY_CTX * ctx); | 69 | static int genpkey_cb(EVP_PKEY_CTX * ctx); |
| 70 | 70 | ||
| 71 | struct { | 71 | static 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; |
