diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-01-08 10:36:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-01-08 14:41:33 +0100 |
commit | 4936e60bb961e6ad7385bd25646e3acd0922f33f (patch) | |
tree | 2a5b943a5c379e269ea652428489d2eb37e84c19 | |
parent | 1bb406c7ed51f37065b9061443f26abd77c88104 (diff) | |
download | curl-4936e60bb961e6ad7385bd25646e3acd0922f33f.tar.gz |
ngtcp2: fix declaration of ‘result’ shadows a previous local
Follow-up to 8fbd6feddfa587cfd3
Closes #8245
-rw-r--r-- | lib/vquic/ngtcp2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 1596049b7..49ec37b81 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -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; |