gtls: avoid uninitialized variable.

Coverity CID 1291166 pointed out that we could read this variable
uninitialized.
This commit is contained in:
Daniel Stenberg 2015-03-21 16:44:17 +01:00
Родитель f9251a5c86
Коммит 5f6f9e8b59
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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? */