From: Howard Chu Date: Sat, 4 May 2002 01:32:41 +0000 (+0000) Subject: Initialize authid in case ldap_pvt_tls_get_my_dn fails X-Git-Tag: OPENLDAP_REL_ENG_2_MP~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3590877b777a8b0e488341c452b56b6f2cd8a594;p=openldap Initialize authid in case ldap_pvt_tls_get_my_dn fails --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 19ae058212..f1d4fc1345 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -1278,7 +1278,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv ) * set SASL properties to TLS ssf and authid */ { - struct berval authid; + struct berval authid = { 0, NULL }; ber_len_t ssf; /* we need to let SASL know */