Change Post Handshake auth so that it is opt-in
[openssl.git] / test / handshake_helper.c
index c40a0e7c92638e96a4722782254b6399566ec94c..a5b8d8007adb7e5ea0725811d13d00cd84ddd047 100644 (file)
@@ -726,8 +726,8 @@ static void configure_handshake_ssl(SSL *server, SSL *client,
     if (extra->client.servername != SSL_TEST_SERVERNAME_NONE)
         SSL_set_tlsext_host_name(client,
                                  ssl_servername_name(extra->client.servername));
-    if (extra->client.force_pha)
-        SSL_force_post_handshake_auth(client);
+    if (extra->client.enable_pha)
+        SSL_set_post_handshake_auth(client, 1);
 }
 
 /* The status for each connection phase. */