mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05: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
1 changed files with 2 additions and 0 deletions
|
|
@ -1357,7 +1357,9 @@ dnIsOneLevelRDN( struct berval *rdn )
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_TLS
|
||||||
static SLAP_CERT_MAP_FN *DNX509PeerNormalizeCertMap = NULL;
|
static SLAP_CERT_MAP_FN *DNX509PeerNormalizeCertMap = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
int register_certificate_map_function(SLAP_CERT_MAP_FN *fn)
|
int register_certificate_map_function(SLAP_CERT_MAP_FN *fn)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue