Commit 25f81a48 authored by Howard Chu's avatar Howard Chu
Browse files

Add SSL failure reason to TLS: can't connect message.

parent 87ba3eb8
......@@ -822,7 +822,8 @@ ldap_int_tls_connect( LDAP *ld, LDAPConn *conn )
#endif
}
Debug( LDAP_DEBUG_ANY,"TLS: can't connect.\n",0,0,0);
Debug( LDAP_DEBUG_ANY,"TLS: can't connect: %s.\n",
ld->ld_error ? ld->ld_error : "" ,0,0);
ber_sockbuf_remove_io( sb, &sb_tls_sbio,
LBER_SBIOD_LEVEL_TRANSPORT );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment