mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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
@ -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…
Reference in New Issue
Block a user