summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-11-16 10:32:09 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-11-16 10:32:09 +0000
commit8706bc096ee603d85720b8d742ec0d3aeadc6ac5 (patch)
treea1ebf1cf5b517da5d8534537af4ca7a07cff4257 /lib
parent3ed82a1a9b75bca5cc682b6c4592b7ba1530a340 (diff)
Shuffle the global default_ec_key_meth down a few lines
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/ec/ec_kmeth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/ec/ec_kmeth.c b/lib/libcrypto/ec/ec_kmeth.c
index 6795af8bbf8..43661f2c13e 100644
--- a/lib/libcrypto/ec/ec_kmeth.c
+++ b/lib/libcrypto/ec/ec_kmeth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ec_kmeth.c,v 1.15 2024/11/16 10:30:48 tb Exp $ */
+/* $OpenBSD: ec_kmeth.c,v 1.16 2024/11/16 10:32:08 tb Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
@@ -301,8 +301,6 @@ static const EC_KEY_METHOD openssl_ec_key_method = {
.verify_sig = ecdsa_verify_sig,
};
-const EC_KEY_METHOD *default_ec_key_meth = &openssl_ec_key_method;
-
const EC_KEY_METHOD *
EC_KEY_OpenSSL(void)
{
@@ -310,6 +308,8 @@ EC_KEY_OpenSSL(void)
}
LCRYPTO_ALIAS(EC_KEY_OpenSSL);
+const EC_KEY_METHOD *default_ec_key_meth = &openssl_ec_key_method;
+
const EC_KEY_METHOD *
EC_KEY_get_default_method(void)
{