summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2022-11-09 16:14:15 +0000
committerjsing <>2022-11-09 16:14:15 +0000
commitaf13c6db80ebe8ecc0b270cce4588903a8b7cac8 (patch)
tree04b6791ab214d6fa02743e59ce4e983e029229e2
parent2bfaf5352df5074d889ade8fdce3f8563de2d5af (diff)
downloadopenbsd-af13c6db80ebe8ecc0b270cce4588903a8b7cac8.tar.gz
openbsd-af13c6db80ebe8ecc0b270cce4588903a8b7cac8.tar.bz2
openbsd-af13c6db80ebe8ecc0b270cce4588903a8b7cac8.zip
Sort EVP_PKEY_ASN1_METHOD externs.
-rw-r--r--src/lib/libcrypto/asn1/ameth_lib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c
index 313440e06a..82bfa77390 100644
--- a/src/lib/libcrypto/asn1/ameth_lib.c
+++ b/src/lib/libcrypto/asn1/ameth_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ameth_lib.c,v 1.26 2022/06/27 12:36:05 tb Exp $ */ 1/* $OpenBSD: ameth_lib.c,v 1.27 2022/11/09 16:14:15 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 */
@@ -71,15 +71,15 @@
71#include "asn1_locl.h" 71#include "asn1_locl.h"
72#include "evp_locl.h" 72#include "evp_locl.h"
73 73
74extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[]; 74extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth;
75extern const EVP_PKEY_ASN1_METHOD rsa_pss_asn1_meth;
76extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[];
77extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; 75extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth;
76extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[];
78extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; 77extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth;
79extern const EVP_PKEY_ASN1_METHOD gostr01_asn1_meths[];
80extern const EVP_PKEY_ASN1_METHOD gostimit_asn1_meth; 78extern const EVP_PKEY_ASN1_METHOD gostimit_asn1_meth;
79extern const EVP_PKEY_ASN1_METHOD gostr01_asn1_meths[];
81extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth; 80extern const EVP_PKEY_ASN1_METHOD hmac_asn1_meth;
82extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; 81extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[];
82extern const EVP_PKEY_ASN1_METHOD rsa_pss_asn1_meth;
83 83
84/* Keep this sorted in type order !! */ 84/* Keep this sorted in type order !! */
85static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { 85static const EVP_PKEY_ASN1_METHOD *standard_methods[] = {