mirror of https://github.com/getdnsapi/getdns.git
Correct auth state thinko. Spotter credit to Willem.
This commit is contained in:
parent
8980f5f5ee
commit
cdc0d43315
|
@ -845,7 +845,7 @@ tls_create_object(getdns_dns_req *dnsreq, int fd, getdns_upstream *upstream)
|
||||||
|
|
||||||
if (r) {
|
if (r) {
|
||||||
_getdns_tls_connection_free(&upstream->upstreams->mf, tls);
|
_getdns_tls_connection_free(&upstream->upstreams->mf, tls);
|
||||||
upstream->tls_auth_state = r;
|
upstream->tls_auth_state = GETDNS_AUTH_NONE;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue