Merge pull request #462 from doublez13/develop

Fix uninitialized value in tls_create_object
This commit is contained in:
Willem Toorop 2020-03-02 15:20:51 +01:00 committed by GitHub
commit 16c20fe04d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -926,6 +926,7 @@ upstream_init(getdns_upstream *upstream,
/* For sharing a socket to this upstream with TCP */
upstream->fd = -1;
upstream->expires = 0;
upstream->tls_fallback_ok = 0;
upstream->tls_obj = NULL;
upstream->tls_session = NULL;
upstream->tls_cipher_list = NULL;