mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
Put dnX509 normalizers behind #ifdef HAVE_TLS
This commit is contained in:
parent
96eda541e9
commit
8c917b8d68
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue