diff options
author | Kamil Dudka <kdudka@redhat.com> | 2017-01-15 13:10:43 +0100 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2017-01-15 14:46:01 +0100 |
commit | 25ed9ea51257c0561237d1b725c4ff3d59b3f32c (patch) | |
tree | 0b0255701c5606bb59ae872877edb6c11552c97b | |
parent | 9ad034e5a1b2d42acfdbea184736066782c6c635 (diff) |
nss: use the correct lock in nss_find_slot_by_name()
-rw-r--r-- | lib/vtls/nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index a450703aa..aefe636eb 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -365,9 +365,9 @@ static char *dup_nickname(struct Curl_easy *data, const char *str) static PK11SlotInfo* nss_find_slot_by_name(const char *slot_name) { PK11SlotInfo *slot; - PR_Lock(nss_initlock); + PR_Lock(nss_findslot_lock); slot = PK11_FindSlotByName(slot_name); - PR_Unlock(nss_initlock); + PR_Unlock(nss_findslot_lock); return slot; } |