diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index b40e322113..031a9ce5b5 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -500,7 +500,8 @@ requires_certificate_authentication () { adapt_cmd_for_psk () { case "$2" in - *openssl*) s='-psk abc123 -nocert';; + *openssl*s_server*) s='-psk abc123 -nocert';; + *openssl*) s='-psk abc123';; *gnutls-*) s='--pskkey=abc123';; *) s='psk=abc123';; esac