From dd539644680ce4c81f847e7055d9dd53d0c0c49f Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 13 May 2024 21:06:26 +0200 Subject: [PATCH] Fix PSK invocation: GnuTLS PSK length (more) Replace more sample PSK by longer (GnuTLS-compatible) strings, taking care of keeping distinct PSK distinct for wrong-PSK tests. Signed-off-by: Gilles Peskine --- tests/ssl-opt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 16e0a68a20..5fb954d8e8 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -8470,7 +8470,7 @@ run_test "DTLS client auth: none, client has no cert" \ run_test "DTLS wrong PSK: badmac alert" \ "$P_SRV dtls=1 psk=73776f726466697368 force_ciphersuite=TLS-PSK-WITH-AES-128-GCM-SHA256" \ - "$P_CLI dtls=1 psk=abc124" \ + "$P_CLI dtls=1 psk=73776f726466697374" \ 1 \ -s "SSL - Verification of the message MAC failed" \ -c "SSL - A fatal alert message was received from our peer"