diff options
Diffstat (limited to 'tests/server-multi-keys.sh')
-rwxr-xr-x | tests/server-multi-keys.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/server-multi-keys.sh b/tests/server-multi-keys.sh index 25ab601a13..3138fb6888 100755 --- a/tests/server-multi-keys.sh +++ b/tests/server-multi-keys.sh @@ -74,7 +74,7 @@ timeout 1800 datefudge "2017-08-9" \ fail ${PID} "2. handshake with ECC should have succeeded!" timeout 1800 datefudge "2017-08-9" \ -"${CLI}" -p "${PORT}" localhost --x509cafile ${CAFILE} --priority "NORMAL:-KX-ALL:+ECDHE-RSA:-SIGN-ALL:+SIGN-RSA-SHA256" --save-cert ${TMPFILE} </dev/null || \ +"${CLI}" -p "${PORT}" localhost --x509cafile ${CAFILE} --priority "NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+ECDHE-RSA:-SIGN-ALL:+SIGN-RSA-SHA256" --save-cert ${TMPFILE} </dev/null || \ fail ${PID} "3. handshake with RSA should have succeeded!" cmp ${TMPFILE} ${CERT1} @@ -82,6 +82,10 @@ if test $? != 0;then fail ${PID} "3. the certificate used by server was not the expected" fi +timeout 1800 datefudge "2017-08-9" \ +"${CLI}" -p "${PORT}" localhost --x509cafile ${CAFILE} --priority "NORMAL:-KX-ALL:+ECDHE-RSA:+SIGN-RSA-SHA256:+SIGN-RSA-PSS-RSAE-SHA256" --save-cert ${TMPFILE} </dev/null || \ + fail ${PID} "4. handshake with RSA should have succeeded!" + # check whether the server used the RSA-PSS certificate when we asked for RSA-PSS signature timeout 1800 datefudge "2017-08-9" \ |