mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
gtls: avoid uninitialized variable.
Coverity CID 1291166 pointed out that we could read this variable uninitialized.
This commit is contained in:
parent
f9251a5c86
commit
5f6f9e8b59
@ -779,7 +779,7 @@ gtls_connect_step3(struct connectdata *conn,
|
||||
{
|
||||
unsigned int cert_list_size;
|
||||
const gnutls_datum_t *chainp;
|
||||
unsigned int verify_status;
|
||||
unsigned int verify_status = 0;
|
||||
gnutls_x509_crt_t x509_cert, x509_issuer;
|
||||
gnutls_datum_t issuerp;
|
||||
char certbuf[256] = ""; /* big enough? */
|
||||
|
Loading…
Reference in New Issue
Block a user