diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index e25c57304d..8d40fb0e00 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -4603,6 +4603,7 @@ static CURLcode ossl_connect_step2(struct Curl_cfilter *cf, #ifdef SSL_ERROR_WANT_RETRY_VERIFY if(SSL_ERROR_WANT_RETRY_VERIFY == detail) { CURL_TRC_CF(data, cf, "SSL_connect() -> want retry_verify"); + Curl_xfer_pause_send(data, TRUE); Curl_xfer_pause_recv(data, TRUE); return CURLE_AGAIN; } diff --git a/tests/libtest/lib758.c b/tests/libtest/lib758.c index 8f2ccb6245..dfcbaebb31 100644 --- a/tests/libtest/lib758.c +++ b/tests/libtest/lib758.c @@ -61,9 +61,9 @@ static struct t758_ctx { static const char *t758_tag(void) { curl_msnprintf(t758_ctx.buf, sizeof(t758_ctx.buf), - "[T758-%d-%d] [%d/%d]", - t758_ctx.max_socket_calls, t758_ctx.max_timer_calls, - t758_ctx.socket_calls, t758_ctx.timer_calls); + "[T758-%d-%d] [%d/%d]", + t758_ctx.max_socket_calls, t758_ctx.max_timer_calls, + t758_ctx.socket_calls, t758_ctx.timer_calls); return t758_ctx.buf; } @@ -73,7 +73,6 @@ static void t758_msg(const char *msg) } - struct t758_Sockets { curl_socket_t *sockets; int count; /* number of sockets actually stored in array */ @@ -154,8 +153,8 @@ static int t758_curlSocketCallback(CURL *easy, curl_socket_t s, int action, { struct t758_ReadWriteSockets *sockets = userp; - (void)easy; /* unused */ - (void)socketp; /* unused */ + (void)easy; + (void)socketp; t758_ctx.socket_calls++; t758_msg("-> CURLMOPT_SOCKETFUNCTION");