diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-16 10:32:09 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-11-16 10:32:09 +0000 |
commit | 8706bc096ee603d85720b8d742ec0d3aeadc6ac5 (patch) | |
tree | a1ebf1cf5b517da5d8534537af4ca7a07cff4257 | |
parent | 3ed82a1a9b75bca5cc682b6c4592b7ba1530a340 (diff) |
Shuffle the global default_ec_key_meth down a few lines
-rw-r--r-- | lib/libcrypto/ec/ec_kmeth.c | 6 |
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) { |