diff options
author | Peter Wang <novalazy@gmail.com> | 2016-08-26 16:28:39 +1000 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2016-08-26 14:42:22 +0200 |
commit | 3a5d5de9ef52ebe8ca2bda2165edc1b34c242e54 (patch) | |
tree | f014092c1602c41422afa82cb5362392fc1ee1a5 /lib/vtls/schannel.c | |
parent | 7700fcba64bf5806de28f6c1c7da3b4f0b38567d (diff) |
nss: work around race condition in PK11_FindSlotByName()
Serialise the call to PK11_FindSlotByName() to avoid spurious errors in
a multi-threaded environment. The underlying cause is a race condition
in nssSlot_IsTokenPresent().
Bug: https://bugzilla.mozilla.org/1297397
Closes #985
Diffstat (limited to 'lib/vtls/schannel.c')
0 files changed, 0 insertions, 0 deletions