]> git.sur5r.net Git - openldap/commitdiff
Initialize authid in case ldap_pvt_tls_get_my_dn fails
authorHoward Chu <hyc@openldap.org>
Sat, 4 May 2002 01:32:41 +0000 (01:32 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 4 May 2002 01:32:41 +0000 (01:32 +0000)
libraries/libldap/tls.c

index 19ae0582122aad22f3de81735818c2e1572c9d08..f1d4fc1345901e82d4efbd537ca9e0182f6d34e9 100644 (file)
@@ -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 */