mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:37:20 +03:00
ngtcp2: fix declaration of ‘result’ shadows a previous local
Follow-up to 8fbd6feddf
Closes #8245
This commit is contained in:
parent
1bb406c7ed
commit
4936e60bb9
1 changed files with 0 additions and 1 deletions
|
|
@ -1676,7 +1676,6 @@ static CURLcode ng_has_connected(struct Curl_easy *data,
|
|||
if(conn->ssl_config.verifyhost) {
|
||||
#ifdef USE_OPENSSL
|
||||
X509 *server_cert;
|
||||
CURLcode result;
|
||||
server_cert = SSL_get_peer_certificate(conn->quic->ssl);
|
||||
if(!server_cert) {
|
||||
return CURLE_PEER_FAILED_VERIFICATION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue