From d99e169e34399bab2e5d0f1352f86c3510113be8 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 19 May 2023 17:31:20 +0000 Subject: [PATCH] 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 --- lib/libcrypto/rsa/rsa_ameth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.20.1