Put dnX509 normalizers behind #ifdef HAVE_TLS

This commit is contained in:
Howard Chu 2002-04-19 01:25:15 +00:00
parent 96eda541e9
commit 8c917b8d68

View file

@ -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