Skip to content
Snippets Groups Projects
Commit 0ac9b688 authored by Luke Howard's avatar Luke Howard
Browse files

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
parent eb9720c8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
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