]> git.sur5r.net Git - openldap/commitdiff
ITS#1795 authid is uninit'd if tls_get_cert fails
authorHoward Chu <hyc@openldap.org>
Sat, 4 May 2002 01:28:56 +0000 (01:28 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 4 May 2002 01:28:56 +0000 (01:28 +0000)
servers/slapd/connection.c

index 6f47c9d1be6d9d7b6c3f84978db3518be8f01f22..a93af0d11679b6b19f2934aa1053dfd50cbd8260 100644 (file)
@@ -1189,7 +1189,7 @@ int connection_read(ber_socket_t s)
 
                } else if ( rc == 0 ) {
                        void *ssl;
-                       struct berval authid;
+                       struct berval authid = { 0, NULL };
 
                        c->c_needs_tls_accept = 0;