From 3590877b777a8b0e488341c452b56b6f2cd8a594 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 4 May 2002 01:32:41 +0000 Subject: [PATCH] Initialize authid in case ldap_pvt_tls_get_my_dn fails --- libraries/libldap/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5