diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-01-08 10:36:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-01-08 10:37:23 +0100 |
commit | e100104ab52ecf98a042fbccf5137410e34a1576 (patch) | |
tree | b13c869356be5f2b58d68cc117d7423fae592db4 | |
parent | 40eec3f80ef8830006c7bf212a121577eaf23e67 (diff) | |
download | curl-bagder/fix-ngtcp2.tar.gz |
ngtcp2: fix declaration of ‘result’ shadows a previous localbagder/fix-ngtcp2
Follow-up to 8fbd6feddfa587cfd3
-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; |