Remove unused variable if not compiling with HAVE_TLS - NB slapd always

exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
This commit is contained in:
Luke Howard 2004-09-20 04:06:25 +00:00
parent eb9720c802
commit 0ac9b6889e

View File

@ -1357,7 +1357,9 @@ dnIsOneLevelRDN( struct berval *rdn )
return 1;
}
#ifdef HAVE_TLS
static SLAP_CERT_MAP_FN *DNX509PeerNormalizeCertMap = NULL;
#endif
int register_certificate_map_function(SLAP_CERT_MAP_FN *fn)
{