Let test handshakes stop on certain errors
[openssl.git] / test / dtls_mtu_test.c
index 1a05c541f7d66efb04970c696da51ef45945b763..24d4ccc552c2169a1d43b22c2eefce5392536cf5 100644 (file)
@@ -70,7 +70,7 @@ static int mtu_test(SSL_CTX *ctx, const char *cs, int no_etm)
     }
     sc_bio = SSL_get_rbio(srvr_ssl);
 
-    if (create_ssl_connection(clnt_ssl, srvr_ssl) != 1)
+    if (create_ssl_connection(clnt_ssl, srvr_ssl, SSL_ERROR_NONE) != 1)
         goto out;
 
     if (debug)