]> git.sur5r.net Git - openldap/commitdiff
Bug fix: re-used Connection have TLS value for previous conn.
authorMark Valence <mrv@openldap.org>
Thu, 9 Dec 1999 21:06:42 +0000 (21:06 +0000)
committerMark Valence <mrv@openldap.org>
Thu, 9 Dec 1999 21:06:42 +0000 (21:06 +0000)
servers/slapd/connection.c

index 108c80a63f992ade71f2c249ce25db4bc52e4eea..3f116b6eccd1a2d1c58d4fe5a251467584b488d2 100644 (file)
@@ -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