diff options
-rw-r--r-- | src/lib/libcrypto/ec/ec_ameth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_ameth.c b/src/lib/libcrypto/ec/ec_ameth.c index 49ae80494d..6adf7ce671 100644 --- a/src/lib/libcrypto/ec/ec_ameth.c +++ b/src/lib/libcrypto/ec/ec_ameth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ec_ameth.c,v 1.41 2023/07/07 06:59:18 tb Exp $ */ | 1 | /* $OpenBSD: ec_ameth.c,v 1.42 2023/08/12 08:07:35 tb 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 | */ |
@@ -359,7 +359,7 @@ eckey_priv_encode(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pkey) | |||
359 | } | 359 | } |
360 | 360 | ||
361 | static int | 361 | static int |
362 | int_ec_size(const EVP_PKEY *pkey) | 362 | ec_size(const EVP_PKEY *pkey) |
363 | { | 363 | { |
364 | return ECDSA_size(pkey->pkey.ec); | 364 | return ECDSA_size(pkey->pkey.ec); |
365 | } | 365 | } |
@@ -419,7 +419,7 @@ ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) | |||
419 | } | 419 | } |
420 | 420 | ||
421 | static void | 421 | static void |
422 | int_ec_free(EVP_PKEY *pkey) | 422 | ec_free(EVP_PKEY *pkey) |
423 | { | 423 | { |
424 | EC_KEY_free(pkey->pkey.ec); | 424 | EC_KEY_free(pkey->pkey.ec); |
425 | } | 425 | } |
@@ -994,7 +994,7 @@ const EVP_PKEY_ASN1_METHOD eckey_asn1_meth = { | |||
994 | .priv_encode = eckey_priv_encode, | 994 | .priv_encode = eckey_priv_encode, |
995 | .priv_print = eckey_priv_print, | 995 | .priv_print = eckey_priv_print, |
996 | 996 | ||
997 | .pkey_size = int_ec_size, | 997 | .pkey_size = ec_size, |
998 | .pkey_bits = ec_bits, | 998 | .pkey_bits = ec_bits, |
999 | .pkey_security_bits = ec_security_bits, | 999 | .pkey_security_bits = ec_security_bits, |
1000 | 1000 | ||
@@ -1005,7 +1005,7 @@ const EVP_PKEY_ASN1_METHOD eckey_asn1_meth = { | |||
1005 | .param_cmp = ec_cmp_parameters, | 1005 | .param_cmp = ec_cmp_parameters, |
1006 | .param_print = eckey_param_print, | 1006 | .param_print = eckey_param_print, |
1007 | 1007 | ||
1008 | .pkey_free = int_ec_free, | 1008 | .pkey_free = ec_free, |
1009 | .pkey_ctrl = ec_pkey_ctrl, | 1009 | .pkey_ctrl = ec_pkey_ctrl, |
1010 | .old_priv_decode = old_ec_priv_decode, | 1010 | .old_priv_decode = old_ec_priv_decode, |
1011 | .old_priv_encode = old_ec_priv_encode, | 1011 | .old_priv_encode = old_ec_priv_encode, |