Skip to content
Snippets Groups Projects
Commit 268dd9be authored by Mark Valence's avatar Mark Valence
Browse files

Condition ldap_start_tls on HAVE_TLS.

parent 041c1545
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,7 @@ ldap_initialize( LDAP **ldp, LDAP_CONST char *url )
int
ldap_start_tls ( LDAP *ld )
{
#ifdef HAVE_TLS
LDAPConn *lc;
int rc;
char *rspoid;
......@@ -253,6 +254,9 @@ ldap_start_tls ( LDAP *ld )
return rc;
}
return LDAP_SUCCESS;
#else
return LDAP_NOT_SUPPORTED;
#endif
}
int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment