From 6b7ba195df623c72efdfdc537a137e316d910518 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Tue, 10 Dec 2024 11:50:54 -0700 Subject: [PATCH] add test case for RSA PSS certificate interop --- scripts/openssl.test | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/openssl.test b/scripts/openssl.test index b557bb69b2..12d851d297 100755 --- a/scripts/openssl.test +++ b/scripts/openssl.test @@ -1228,6 +1228,26 @@ do done IFS="$OIFS" #restore separator +# Test for RSA-PSS certs +echo -e "Doing interop RSA-PSS test" +generate_port +server_port=$port +openssl s_server -accept $server_port -key ${CERT_DIR}/rsapss/server-rsapss-priv.pem -cert ${CERT_DIR}/rsapss/server-rsapss.pem & +server_pid=$? + +servers="$servers wolfSSL_RSA_PSS:$server_pid:$server_port" + +cert="" +key="" +caCert="${CERT_DIR}/rsapss/ca-rsapss.pem" +wolfSuite="ALL" +version="4" +port=$openssl_port +do_wolfssl_client + +version="3" +do_wolfssl_client + do_cleanup echo -e "wolfSSL total cases $wolf_cases_total"