mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 22:03:45 -05:00
ITS#5379 HAVE_TLS dependency
This commit is contained in:
parent
b2b8a3a0bf
commit
c8d5bcf0c7
1 changed files with 2 additions and 2 deletions
|
|
@ -1402,19 +1402,18 @@ slap_cf_aux_table_unparse( void *src, struct berval *bv, slap_cf_aux_table *tab0
|
|||
int
|
||||
slap_tls_get_config( LDAP *ld, int opt, char **val )
|
||||
{
|
||||
#ifdef HAVE_TLS
|
||||
slap_verbmasks *keys;
|
||||
int i, ival;
|
||||
|
||||
*val = NULL;
|
||||
switch( opt ) {
|
||||
#ifdef HAVE_TLS
|
||||
case LDAP_OPT_X_TLS_CRLCHECK:
|
||||
keys = crlkeys;
|
||||
break;
|
||||
case LDAP_OPT_X_TLS_REQUIRE_CERT:
|
||||
keys = vfykeys;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
|
|
@ -1425,6 +1424,7 @@ slap_tls_get_config( LDAP *ld, int opt, char **val )
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue