summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-05-19 17:31:21 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-05-19 17:31:21 +0000
commit2743c29f91872000982bc5c454f9ed1aaefe8867 (patch)
tree8e817f0ee35eeaba96f0d06ac998ced477416c07 /lib/libcrypto/rsa
parent031c0ee22b6041ec0d519e6bef62061cc0e5f6e9 (diff)
Add missing rsa_security_bit() handler to the RSA-PSS ASN1_METHOD
Prompted by a report by Steffen Ullrich on libressl@openbsd.org ok jsing
Diffstat (limited to 'lib/libcrypto/rsa')
-rw-r--r--lib/libcrypto/rsa/rsa_ameth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/rsa/rsa_ameth.c b/lib/libcrypto/rsa/rsa_ameth.c
index 9b91dd19118..1cf2069a183 100644
--- a/lib/libcrypto/rsa/rsa_ameth.c
+++ b/lib/libcrypto/rsa/rsa_ameth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsa_ameth.c,v 1.28 2023/03/25 09:12:35 tb Exp $ */
+/* $OpenBSD: rsa_ameth.c,v 1.29 2023/05/19 17:31:20 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
@@ -1152,6 +1152,7 @@ const EVP_PKEY_ASN1_METHOD rsa_pss_asn1_meth = {
.pkey_size = int_rsa_size,
.pkey_bits = rsa_bits,
+ .pkey_security_bits = rsa_security_bits,
.sig_print = rsa_sig_print,