Remove dependency to MBEDTLS_ERROR_C
The test is already checking for return value
No need to check for MBEDTLS_ERROR_C -dependent print
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 9992753..94bd495 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -7035,7 +7035,6 @@
-S "hello verification requested" \
-S "SSL - The requested feature is not available"
-requires_config_enabled MBEDTLS_ERROR_C
run_test "DTLS cookie: default (failing)" \
"$P_SRV dtls=1 debug_level=2 cookies=-1" \
"$P_CLI dtls=1 debug_level=2 hs_timeout=100-400" \
@@ -7044,8 +7043,7 @@
-S "cookie verification passed" \
-S "cookie verification skipped" \
-C "received hello verify request" \
- -S "hello verification requested" \
- -s "SSL - The requested feature is not available"
+ -S "hello verification requested"
requires_ipv6
run_test "DTLS cookie: enabled, IPv6" \