Lines Matching defs:conf
277 static struct tls_context * tls_context_new(const struct tls_config *conf)
282 if (conf) {
283 context->event_cb = conf->event_cb;
284 context->cb_ctx = conf->cb_ctx;
285 context->cert_in_cb = conf->cert_in_cb;
951 void * tls_init(const struct tls_config *conf)
959 tls_global = context = tls_context_new(conf);
964 if (conf && conf->fips_mode) {
981 if (conf && conf->fips_mode) {
1016 context = tls_context_new(conf);
1039 if (conf) {
1040 data->tls_session_lifetime = conf->tls_session_lifetime;
1041 data->crl_reload_interval = conf->crl_reload_interval;
1084 if (conf &&
1085 (conf->opensc_engine_path || conf->pkcs11_engine_path ||
1086 conf->pkcs11_module_path)) {
1087 if (tls_engine_load_dynamic_opensc(conf->opensc_engine_path) ||
1088 tls_engine_load_dynamic_pkcs11(conf->pkcs11_engine_path,
1089 conf->pkcs11_module_path)) {
1096 if (conf && conf->openssl_ciphers)
1097 ciphers = conf->openssl_ciphers;