From cdc0d4331556993b637d0bbfad879fa34e4b840d Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Wed, 23 Jan 2019 11:34:02 +0000 Subject: [PATCH] Correct auth state thinko. Spotter credit to Willem. --- src/stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub.c b/src/stub.c index 05e48f0a..c5a467fe 100644 --- a/src/stub.c +++ b/src/stub.c @@ -845,7 +845,7 @@ tls_create_object(getdns_dns_req *dnsreq, int fd, getdns_upstream *upstream) if (r) { _getdns_tls_connection_free(&upstream->upstreams->mf, tls); - upstream->tls_auth_state = r; + upstream->tls_auth_state = GETDNS_AUTH_NONE; return NULL; }