1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/security/newpki-lib/files/patch-src_CriticalSection.cpp
Pav Lucistnik c08970fbc3 NewPKI is a PKI based on the OpenSSL low-level API, all the datas are handled
through a database, which provides a much more flexible PKI than with OpenSSL,
such as seeking a certificate with a search engine.

PR:		ports/83385
Submitted by:	Vsevolod Stakhov <vsevolod@highsecure.ru>
2005-07-14 13:01:35 +00:00

12 lines
416 B
C++

--- src/CriticalSection.cpp.orig Tue Jul 5 03:01:18 2005
+++ src/CriticalSection.cpp Tue Jul 5 03:01:33 2005
@@ -43,7 +43,7 @@
assert(hMutex != NULL);
#else
pthread_mutexattr_init(&recmutex);
- pthread_mutexattr_settype(&recmutex, PTHREAD_MUTEX_RECURSIVE_NP);
+ pthread_mutexattr_settype(&recmutex, PTHREAD_MUTEX_RECURSIVE);
pthread_mutex_init(&lpCriticalSection, &recmutex);
#endif
#ifdef _DEBUG