Index: nss/lib/pk11wrap/pk11util.c |
=================================================================== |
--- nss/lib/pk11wrap/pk11util.c (revision 206843) |
+++ nss/lib/pk11wrap/pk11util.c (working copy) |
@@ -1495,6 +1495,13 @@ |
} |
rv = secmod_UserDBOp(slot, CKO_NETSCAPE_DELSLOT, sendSpec); |
PR_smprintf_free(sendSpec); |
+ /* if we are in the delay period for the "isPresent" call, reset |
+ * the delay since we know things have probably changed... */ |
+ if (slot->nssToken && slot->nssToken->slot) { |
+ nssSlot_ResetDelay(slot->nssToken->slot); |
+ /* force the slot info structures to properly reset */ |
+ (void)PK11_IsPresent(slot); |
+ } |
return rv; |
} |