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 <[email protected]>
This commit is contained in:
Gilles Peskine
2024-05-14 12:25:14 +02:00
parent b3bba1a954
commit dd53964468
+1 -1
View File
@@ -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"