We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8cbb4 commit 30c59f9Copy full SHA for 30c59f9
src/provider.c
@@ -584,6 +584,9 @@ static void *store_open(void *ctx, const char *uri)
584
P11_STORE_CTX *store_ctx;
585
PROVIDER_CTX *prov_ctx = (PROVIDER_CTX *)ctx;
586
587
+ if (!uri || strncasecmp(uri, "pkcs11:", 7) != 0) {
588
+ return NULL; /* This provider doesn't handle this URI */
589
+ }
590
if (!prov_ctx->initialized) {
591
/* Set parameters into the util_ctx */
592
if (!PROVIDER_CTX_set_parameters(prov_ctx)) {
0 commit comments