mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
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:
parent
eb9720c802
commit
0ac9b6889e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user