Skip to content

Commit d674171

Browse files
committed
Fix PK11Store.findCertFromDERCertItem()
The PK11Store.findCertFromDERCertItem() has been updated to use the proper function to wrap the cert.
1 parent 6295c6e commit d674171

File tree

1 file changed

+1
-1
lines changed
  • native/src/main/native/org/mozilla/jss/pkcs11

1 file changed

+1
-1
lines changed

native/src/main/native/org/mozilla/jss/pkcs11/PK11Store.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Java_org_mozilla_jss_pkcs11_PK11Store_findCertFromDERCertItem(
417417
goto finish;
418418
}
419419

420-
cert = JSS_PK11_wrapCertAndSlot(env, &nssCert, &slot);
420+
cert = JSS_PK11_wrapCert(env, &nssCert);
421421

422422
finish:
423423
if (nssCert != NULL) {

0 commit comments

Comments
 (0)