gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 72/173: nss: use the correct lock in nss_find_slot_


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 72/173: nss: use the correct lock in nss_find_slot_by_name()
Date: Fri, 24 Feb 2017 14:01:34 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 25ed9ea51257c0561237d1b725c4ff3d59b3f32c
Author: Kamil Dudka <address@hidden>
AuthorDate: Sun Jan 15 13:10:43 2017 +0100

    nss: use the correct lock in nss_find_slot_by_name()
---
 lib/vtls/nss.c | 4 ++--
 1 file 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;
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]