credential_factory: Store name of plugin registering a builder

This commit is contained in:
Andreas Steffen
2021-06-01 21:12:46 +02:00
parent 62c5ef035c
commit e0044e5f48
4 changed files with 31 additions and 24 deletions
@@ -153,8 +153,8 @@ static bool handle_certs(private_pkcs11_plugin_t *this,
}
enumerator->destroy(enumerator);
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE,
CERT_X509, FALSE, (void*)pkcs11_creds_load);
lib->creds->add_builder(lib->creds, CRED_CERTIFICATE, CERT_X509, FALSE,
get_name(this), (void*)pkcs11_creds_load);
}
else
{