Searched refs:can_pkcs11 (Results 1 – 1 of 1) sorted by relevance
4783 int can_pkcs11 = 0; in tls_connection_set_params() local4805 can_pkcs11 = 1; in tls_connection_set_params()4807 if (!key_id && params->private_key && can_pkcs11 && in tls_connection_set_params()4809 can_pkcs11 = 2; in tls_connection_set_params()4813 if (!cert_id && params->client_cert && can_pkcs11 && in tls_connection_set_params()4815 can_pkcs11 = 2; in tls_connection_set_params()4819 if (!ca_cert_id && params->ca_cert && can_pkcs11 && in tls_connection_set_params()4821 can_pkcs11 = 2; in tls_connection_set_params()4826 if (can_pkcs11 == 2 && !engine_id) in tls_connection_set_params()