diff options
author | jsing <> | 2022-11-09 17:03:53 +0000 |
---|---|---|
committer | jsing <> | 2022-11-09 17:03:53 +0000 |
commit | 43e1084850b7fe1150ba2bd0e010673e66bc63df (patch) | |
tree | 22d4a3db2eb78b6a2e0bd41f5c226d846e36886f /src/lib | |
parent | af13c6db80ebe8ecc0b270cce4588903a8b7cac8 (diff) | |
download | openbsd-43e1084850b7fe1150ba2bd0e010673e66bc63df.tar.gz openbsd-43e1084850b7fe1150ba2bd0e010673e66bc63df.tar.bz2 openbsd-43e1084850b7fe1150ba2bd0e010673e66bc63df.zip |
Sort EVP_PKEY_METHOD externs.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/evp/pmeth_lib.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/pmeth_lib.c b/src/lib/libcrypto/evp/pmeth_lib.c index 960244926d..5c354d5c23 100644 --- a/src/lib/libcrypto/evp/pmeth_lib.c +++ b/src/lib/libcrypto/evp/pmeth_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: pmeth_lib.c,v 1.22 2022/05/05 08:51:21 tb Exp $ */ | 1 | /* $OpenBSD: pmeth_lib.c,v 1.23 2022/11/09 17:03:53 jsing 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 | */ |
@@ -80,11 +80,16 @@ typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); | |||
80 | DECLARE_STACK_OF(EVP_PKEY_METHOD) | 80 | DECLARE_STACK_OF(EVP_PKEY_METHOD) |
81 | STACK_OF(EVP_PKEY_METHOD) *app_pkey_methods = NULL; | 81 | STACK_OF(EVP_PKEY_METHOD) *app_pkey_methods = NULL; |
82 | 82 | ||
83 | extern const EVP_PKEY_METHOD rsa_pkey_meth, rsa_pss_pkey_meth; | 83 | extern const EVP_PKEY_METHOD cmac_pkey_meth; |
84 | extern const EVP_PKEY_METHOD dh_pkey_meth, dsa_pkey_meth; | 84 | extern const EVP_PKEY_METHOD dh_pkey_meth; |
85 | extern const EVP_PKEY_METHOD ec_pkey_meth, hmac_pkey_meth, cmac_pkey_meth; | 85 | extern const EVP_PKEY_METHOD dsa_pkey_meth; |
86 | extern const EVP_PKEY_METHOD gostimit_pkey_meth, gostr01_pkey_meth; | 86 | extern const EVP_PKEY_METHOD ec_pkey_meth; |
87 | extern const EVP_PKEY_METHOD gostimit_pkey_meth; | ||
88 | extern const EVP_PKEY_METHOD gostr01_pkey_meth; | ||
87 | extern const EVP_PKEY_METHOD hkdf_pkey_meth; | 89 | extern const EVP_PKEY_METHOD hkdf_pkey_meth; |
90 | extern const EVP_PKEY_METHOD hmac_pkey_meth; | ||
91 | extern const EVP_PKEY_METHOD rsa_pkey_meth; | ||
92 | extern const EVP_PKEY_METHOD rsa_pss_pkey_meth; | ||
88 | 93 | ||
89 | static const EVP_PKEY_METHOD *standard_methods[] = { | 94 | static const EVP_PKEY_METHOD *standard_methods[] = { |
90 | #ifndef OPENSSL_NO_RSA | 95 | #ifndef OPENSSL_NO_RSA |