mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
Get and set TLS options
This commit is contained in:
parent
3a80a89061
commit
710f697fb7
1 changed files with 8 additions and 0 deletions
|
|
@ -268,6 +268,10 @@ ldap_get_option(
|
|||
return LDAP_OPT_SUCCESS;
|
||||
|
||||
default:
|
||||
#ifdef HAVE_TLS
|
||||
if ( ldap_pvt_tls_get_option(lo, option, outvalue ) == 0 )
|
||||
return LDAP_OPT_SUCCESS;
|
||||
#endif
|
||||
/* bad param */
|
||||
break;
|
||||
}
|
||||
|
|
@ -468,6 +472,10 @@ ldap_set_option(
|
|||
return LDAP_OPT_SUCCESS;
|
||||
|
||||
default:
|
||||
#ifdef HAVE_TLS
|
||||
if ( ldap_pvt_tls_set_option( lo, option, invalue ) == 0 )
|
||||
return LDAP_OPT_SUCCESS;
|
||||
#endif
|
||||
/* bad param */
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue