From 8c917b8d688ddfd3594840ac1d21e4ae94eca06d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 19 Apr 2002 01:25:15 +0000 Subject: [PATCH] Put dnX509 normalizers behind #ifdef HAVE_TLS --- servers/slapd/dn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 3c68a0b98a..6c59b455c7 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -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 -- 2.39.5