Searched refs:can_pkcs11 (Results 1 – 1 of 1) sorted by relevance
3950 int can_pkcs11 = 0; in tls_connection_set_params() local3971 can_pkcs11 = 1; in tls_connection_set_params()3973 if (!key_id && params->private_key && can_pkcs11 && in tls_connection_set_params()3975 can_pkcs11 = 2; in tls_connection_set_params()3979 if (!cert_id && params->client_cert && can_pkcs11 && in tls_connection_set_params()3981 can_pkcs11 = 2; in tls_connection_set_params()3985 if (!ca_cert_id && params->ca_cert && can_pkcs11 && in tls_connection_set_params()3987 can_pkcs11 = 2; in tls_connection_set_params()3992 if (can_pkcs11 == 2 && !engine_id) in tls_connection_set_params()