Skip to content
Snippets Groups Projects
Commit 710f697f authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

Get and set TLS options

parent 3a80a890
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment