From d84b51187b1bcafa63c05e404b3d9c51611f5ded Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 1 Nov 2019 15:08:36 +0000 Subject: Wire up ASN.1 methods for RSA-PSS. ok tb@ --- src/lib/libcrypto/asn1/ameth_lib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/libcrypto/asn1/ameth_lib.c b/src/lib/libcrypto/asn1/ameth_lib.c index 505e986970..212b86c5f7 100644 --- a/src/lib/libcrypto/asn1/ameth_lib.c +++ b/src/lib/libcrypto/asn1/ameth_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ameth_lib.c,v 1.19 2018/08/24 20:22:15 tb Exp $ */ +/* $OpenBSD: ameth_lib.c,v 1.20 2019/11/01 15:08:36 jsing Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ @@ -71,6 +71,7 @@ #include "asn1_locl.h" extern const EVP_PKEY_ASN1_METHOD rsa_asn1_meths[]; +extern const EVP_PKEY_ASN1_METHOD rsa_pss_asn1_meth; extern const EVP_PKEY_ASN1_METHOD dsa_asn1_meths[]; extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; extern const EVP_PKEY_ASN1_METHOD eckey_asn1_meth; @@ -108,6 +109,9 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { &gostr01_asn1_meths[1], &gostr01_asn1_meths[2], #endif +#ifndef OPENSSL_NO_RSA + &rsa_pss_asn1_meth, +#endif }; typedef int sk_cmp_fn_type(const char * const *a, const char * const *b); -- cgit v1.2.3-55-g6feb