mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-31 00:32:50 +00:00
Fix PSK invocation: OpenSSL client
Only s_server has a -nocert option, s_client doesn't. Fixes OpenSSL client test cases in PSK-only builds. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
d00b93b621
commit
2776240af4
@ -500,7 +500,8 @@ requires_certificate_authentication () {
|
|||||||
|
|
||||||
adapt_cmd_for_psk () {
|
adapt_cmd_for_psk () {
|
||||||
case "$2" in
|
case "$2" in
|
||||||
*openssl*) s='-psk abc123 -nocert';;
|
*openssl*s_server*) s='-psk abc123 -nocert';;
|
||||||
|
*openssl*) s='-psk abc123';;
|
||||||
*gnutls-*) s='--pskkey=abc123';;
|
*gnutls-*) s='--pskkey=abc123';;
|
||||||
*) s='psk=abc123';;
|
*) s='psk=abc123';;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user