From: Howard Chu Date: Sat, 4 May 2002 01:28:56 +0000 (+0000) Subject: ITS#1795 authid is uninit'd if tls_get_cert fails X-Git-Tag: OPENLDAP_REL_ENG_2_MP~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef678b179cd856a03698b540cf568c3c261d0423;p=openldap ITS#1795 authid is uninit'd if tls_get_cert fails --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 6f47c9d1be..a93af0d116 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -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;