Skip to content
Snippets Groups Projects
Commit 8c917b8d authored by Howard Chu's avatar Howard Chu
Browse files

Put dnX509 normalizers behind #ifdef HAVE_TLS

parent 96eda541
No related branches found
No related tags found
No related merge requests found
......@@ -830,6 +830,7 @@ dnIsSuffix(
return( strcmp( dn->bv_val + d, suffix->bv_val ) == 0 );
}
#ifdef HAVE_TLS
/*
* Convert an X.509 DN into a normalized LDAP DN
*/
......@@ -848,3 +849,4 @@ dnX509peerNormalize( void *ssl )
{
return ldap_pvt_tls_get_peer_dn( ssl, (LDAPDN_rewrite_dummy *)LDAPDN_rewrite, 0 );
}
#endif
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