Skip to content

Commit

Permalink
add test case for RSA PSS certificate interop
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Dec 13, 2024
1 parent bf1d60f commit 6b7ba19
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions scripts/openssl.test
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6b7ba19

Please sign in to comment.