Skip to content

Commit

Permalink
schannel: restore debug message in schannel_connect_step2
Browse files Browse the repository at this point in the history
This is a follow-up to recent commit 2218c3a which removed the debug
message to avoid an unused variable warning. The message has been
reworked to avoid the warning.

Ref: #8320 (comment)

Closes #8336
  • Loading branch information
jay committed Jan 28, 2022
1 parent 9b8ed6b commit 598b142
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/vtls/schannel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,10 @@ schannel_connect_step2(struct Curl_easy *data, struct connectdata *conn,

doread = (connssl->connecting_state != ssl_connect_2_writing) ? TRUE : FALSE;

DEBUGF(infof(data,
"schannel: SSL/TLS connection with %s port %hu (step 2/3)",
SSL_HOST_NAME(), conn->remote_port));

if(!backend->cred || !backend->ctxt)
return CURLE_SSL_CONNECT_ERROR;

Expand Down

0 comments on commit 598b142

Please sign in to comment.