diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ameth.c')
| -rw-r--r-- | src/lib/libcrypto/dsa/dsa_ameth.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_ameth.c b/src/lib/libcrypto/dsa/dsa_ameth.c index 0af17dbbe6..372966b3c3 100644 --- a/src/lib/libcrypto/dsa/dsa_ameth.c +++ b/src/lib/libcrypto/dsa/dsa_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: dsa_ameth.c,v 1.36 2022/05/07 10:31:28 tb Exp $ */ | 1 | /* $OpenBSD: dsa_ameth.c,v 1.37 2022/06/27 12:36:05 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 | */ |
| @@ -306,6 +306,12 @@ dsa_bits(const EVP_PKEY *pkey) | |||
| 306 | } | 306 | } |
| 307 | 307 | ||
| 308 | static int | 308 | static int |
| 309 | dsa_security_bits(const EVP_PKEY *pkey) | ||
| 310 | { | ||
| 311 | return DSA_security_bits(pkey->pkey.dsa); | ||
| 312 | } | ||
| 313 | |||
| 314 | static int | ||
| 309 | dsa_missing_parameters(const EVP_PKEY *pkey) | 315 | dsa_missing_parameters(const EVP_PKEY *pkey) |
| 310 | { | 316 | { |
| 311 | DSA *dsa; | 317 | DSA *dsa; |
| @@ -716,6 +722,7 @@ const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[] = { | |||
| 716 | 722 | ||
| 717 | .pkey_size = int_dsa_size, | 723 | .pkey_size = int_dsa_size, |
| 718 | .pkey_bits = dsa_bits, | 724 | .pkey_bits = dsa_bits, |
| 725 | .pkey_security_bits = dsa_security_bits, | ||
| 719 | 726 | ||
| 720 | .param_decode = dsa_param_decode, | 727 | .param_decode = dsa_param_decode, |
| 721 | .param_encode = dsa_param_encode, | 728 | .param_encode = dsa_param_encode, |
