Get and set TLS options

This commit is contained in:
Julio Sánchez Fernández 1999-07-13 19:34:07 +00:00
parent 3a80a89061
commit 710f697fb7

View File

@ -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;
}