summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorinoguchi <inoguchi@openbsd.org>2019-11-02 16:06:25 +0000
committerinoguchi <inoguchi@openbsd.org>2019-11-02 16:06:25 +0000
commita2c9b92b2371b96de1d3c6083133a247928b6f9e (patch)
tree419427e63f3a195d04220c2876dd64212242c46d /lib
parentsync (diff)
downloadwireguard-openbsd-a2c9b92b2371b96de1d3c6083133a247928b6f9e.tar.xz
wireguard-openbsd-a2c9b92b2371b96de1d3c6083133a247928b6f9e.zip
Sort standard_methods by pkey_id.
ok jsing@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/asn1/ameth_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcrypto/asn1/ameth_lib.c b/lib/libcrypto/asn1/ameth_lib.c
index 212b86c5f74..8be82060ef5 100644
--- a/lib/libcrypto/asn1/ameth_lib.c
+++ b/lib/libcrypto/asn1/ameth_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ameth_lib.c,v 1.20 2019/11/01 15:08:36 jsing Exp $ */
+/* $OpenBSD: ameth_lib.c,v 1.21 2019/11/02 16:06:25 inoguchi Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
@@ -105,13 +105,13 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = {
#endif
&hmac_asn1_meth,
&cmac_asn1_meth,
+#ifndef OPENSSL_NO_RSA
+ &rsa_pss_asn1_meth,
+#endif
#ifndef OPENSSL_NO_GOST
&gostr01_asn1_meths[1],
&gostr01_asn1_meths[2],
#endif
-#ifndef OPENSSL_NO_RSA
- &rsa_pss_asn1_meth,
-#endif
};
typedef int sk_cmp_fn_type(const char * const *a, const char * const *b);