Lines Matching refs:canonical_provider
748 char *provider = NULL, *pin, canonical_provider[PATH_MAX]; in process_add_smartcard_key() local
780 if (realpath(provider, canonical_provider) == NULL) { in process_add_smartcard_key()
785 if (match_pattern_list(canonical_provider, pkcs11_whitelist, 0) != 1) { in process_add_smartcard_key()
787 "provider not whitelisted", canonical_provider); in process_add_smartcard_key()
790 debug("%s: add %.100s", __func__, canonical_provider); in process_add_smartcard_key()
794 count = pkcs11_add_provider(canonical_provider, pin, &keys); in process_add_smartcard_key()
802 id->provider = xstrdup(canonical_provider); in process_add_smartcard_key()
803 id->comment = xstrdup(canonical_provider); /* XXX */ in process_add_smartcard_key()
824 char *provider = NULL, *pin = NULL, canonical_provider[PATH_MAX]; in process_remove_smartcard_key() local
834 if (realpath(provider, canonical_provider) == NULL) { in process_remove_smartcard_key()
840 debug("%s: remove %.100s", __func__, canonical_provider); in process_remove_smartcard_key()
848 if (!strcmp(canonical_provider, id->provider)) { in process_remove_smartcard_key()
855 if (pkcs11_del_provider(canonical_provider) == 0) in process_remove_smartcard_key()