X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Fsslapitest.c;h=81761f2f654e3163585520789ac28ca1e00f654c;hp=c65bf59ffd070bff227e9d83ccdce34be018ff81;hb=32097b33bdff520d149ad6c8a11bd344e4ef764b;hpb=756510c102885005c2fc31eb01e3a6b95f8ed985 diff --git a/test/sslapitest.c b/test/sslapitest.c index c65bf59ffd..81761f2f65 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -1270,7 +1270,7 @@ static int check_resumption(int idx, SSL_CTX *sctx, SSL_CTX *cctx, int succ) || !TEST_true(SSL_set_session(clientssl, sesscache[i]))) goto end; - SSL_force_post_handshake_auth(clientssl); + SSL_set_post_handshake_auth(clientssl, 1); if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) @@ -1377,7 +1377,7 @@ static int test_tickets(int stateful, int idx) &clientssl, NULL, NULL))) goto end; - SSL_force_post_handshake_auth(clientssl); + SSL_set_post_handshake_auth(clientssl, 1); if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)) @@ -4336,7 +4336,7 @@ static int test_pha_key_update(void) NULL, NULL))) goto end; - SSL_force_post_handshake_auth(clientssl); + SSL_set_post_handshake_auth(clientssl, 1); if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE)))