Commit c029c23e authored by David Woodhouse's avatar David Woodhouse

From edf8aafda42fbcf30ed3c13d4b404d2d5c821238 Mon Sep 17 00:00:00 2001

Bug 1162897, Detect PKCS#11 URI in PK11_FindCert{s,}FromNickname and search accordingly, r=rrelyea
parent 9dc954a2
......@@ -741,6 +741,11 @@ find_certs_from_nickname(const char *nickname, void *wincx)
char *delimit = NULL;
char *tokenName;
if (!strncmp(nickname, "pkcs11:", strlen("pkcs11:"))) {
certs = find_certs_from_uri(nickname, wincx);
if (certs)
return certs;
}
nickCopy = PORT_Strdup(nickname);
if (!nickCopy) {
/* error code is set */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment