From: tb Date: Fri, 7 Jul 2023 08:53:55 +0000 (+0000) Subject: Enable reading RSA-PSS certificates X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11b12eccaabdee0c2c93ecf4bfbfa71d3c200bd0;p=openbsd Enable reading RSA-PSS certificates ok beck jsing --- diff --git a/lib/libssl/ssl_both.c b/lib/libssl/ssl_both.c index 3feedc18f2e..14d9aa85a76 100644 --- a/lib/libssl/ssl_both.c +++ b/lib/libssl/ssl_both.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_both.c,v 1.45 2022/11/26 16:08:55 tb Exp $ */ +/* $OpenBSD: ssl_both.c,v 1.46 2023/07/07 08:53:55 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -388,6 +388,7 @@ ssl_cert_type(EVP_PKEY *pkey) case NID_id_GostR3410_2001_cc: return SSL_PKEY_GOST01; case EVP_PKEY_RSA: + case EVP_PKEY_RSA_PSS: return SSL_PKEY_RSA; }