set tls option immediate effect

This commit is contained in:
Simon Morlat 2012-08-29 19:21:31 +02:00
parent bd6a973748
commit 5139b557f8

View file

@ -462,6 +462,7 @@ void sal_set_root_ca(Sal* ctx, const char* rootCa) {
if (ctx->rootCa)
ms_free(ctx->rootCa);
ctx->rootCa = ms_strdup(rootCa);
set_tls_options(ctx);
}
void sal_verify_server_certificates(Sal *ctx, bool_t verify){