From 89ac843941155c6fe68cc89aa00f1944630c0702 Mon Sep 17 00:00:00 2001 From: Yanray Wang Date: Tue, 7 Feb 2023 11:29:11 +0800 Subject: [PATCH] compat.sh: do not filter PSK ciphersuites for GnuTLS if $VERIFY=YES Signed-off-by: Yanray Wang --- tests/compat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compat.sh b/tests/compat.sh index 0ee62fcfd..081640c20 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -231,7 +231,7 @@ filter_ciphersuites() # For GnuTLS client -> mbed TLS server, # we need to force IPv4 by connecting to 127.0.0.1 but then auth fails - if [ "X$VERIFY" = "XYES" ] && is_dtls "$MODE"; then + if is_dtls "$MODE" && [ "X$VERIFY" = "XYES" ] && [ "$TYPE" != "PSK" ]; then G_CIPHERS="" fi }