From: Mark Valence Date: Thu, 9 Dec 1999 21:06:42 +0000 (+0000) Subject: Bug fix: re-used Connection have TLS value for previous conn. X-Git-Tag: UCDATA_2_4~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bb693fd1b5bc10ff8cff9897454158dc55de2364;p=openldap Bug fix: re-used Connection have TLS value for previous conn. --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 108c80a63f..3f116b6ecc 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -436,6 +436,9 @@ long connection_init( if ( use_tls ) { c->c_is_tls = 1; c->c_needs_tls_accept = 1; + } else { + c->c_is_tls = 0; + c->c_needs_tls_accept = 0; } #endif