Lines Matching refs:conf
132 static struct tls_context * tls_context_new(const struct tls_config *conf)
137 if (conf) {
138 context->event_cb = conf->event_cb;
139 context->cb_ctx = conf->cb_ctx;
140 context->cert_in_cb = conf->cert_in_cb;
746 void * tls_init(const struct tls_config *conf)
752 tls_global = context = tls_context_new(conf);
757 if (conf && conf->fips_mode) {
770 if (conf && conf->fips_mode) {
803 context = tls_context_new(conf);
832 if (conf &&
833 (conf->opensc_engine_path || conf->pkcs11_engine_path ||
834 conf->pkcs11_module_path)) {
839 if (tls_engine_load_dynamic_opensc(conf->opensc_engine_path) ||
840 tls_engine_load_dynamic_pkcs11(conf->pkcs11_engine_path,
841 conf->pkcs11_module_path)) {