Skip to content

Commit

Permalink
fix missing argument for log_warn
Browse files Browse the repository at this point in the history
  • Loading branch information
astibal committed Oct 24, 2023
1 parent 14dde50 commit bb5917c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,9 @@ int ssl_connect(struct tunnel *tunnel)
log_debug("SNI set: %s", tunnel->config->gateway_host);

if (SSL_set_tlsext_host_name(tunnel->ssl_handle, tunnel->config->gateway_host) != 1) {
log_warn("SSL_set_tlsext_host_name('%s'): %s\n", ERR_error_string(ERR_peek_last_error(), NULL));
log_warn("SSL_set_tlsext_host_name('%s'): %s\n",
tunnel->config->gateway_host,
ERR_error_string(ERR_peek_last_error(), NULL));
}
}

Expand Down

0 comments on commit bb5917c

Please sign in to comment.