Let test handshakes stop on certain errors
[openssl.git] / test / sslcorrupttest.c
index c1f074b11d4cb40e4bb04ce8ec0bfa5bb98d1872..8ccad16f28f492d12b46c76cbe0381d652f12344 100644 (file)
@@ -240,7 +240,7 @@ static int test_ssl_corrupt(int testidx)
         goto end;
     }
 
-    if (!create_ssl_connection(server, client)) {
+    if (!create_ssl_connection(server, client, SSL_ERROR_NONE)) {
         printf("Unable to create SSL connection\n");
         ERR_print_errors_fp(stdout);
         goto end;