diff options
author | Martin Willi <martin@revosec.ch> | 2011-05-27 16:07:58 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-06-01 12:03:44 +0200 |
commit | ea900422339147d8b0ab8ac8a922e7333c63315b (patch) | |
tree | 3fd4ee77fe4598ea1b0a3e159c6a853815723365 /src | |
parent | 3c0630a797a18ad353167e56feb21476b4553834 (diff) | |
download | strongswan-ea900422339147d8b0ab8ac8a922e7333c63315b.tar.bz2 strongswan-ea900422339147d8b0ab8ac8a922e7333c63315b.tar.xz |
Provide recursive mutex' just in case the PKCS#11 library requires it
Diffstat (limited to 'src')
-rw-r--r-- | src/libstrongswan/plugins/pkcs11/pkcs11_library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_library.c b/src/libstrongswan/plugins/pkcs11/pkcs11_library.c index 6f7926808..fa2f3c1ba 100644 --- a/src/libstrongswan/plugins/pkcs11/pkcs11_library.c +++ b/src/libstrongswan/plugins/pkcs11/pkcs11_library.c @@ -739,7 +739,7 @@ void pkcs11_library_trim(char *str, int len) */ static CK_RV CreateMutex(CK_VOID_PTR_PTR data) { - *data = mutex_create(MUTEX_TYPE_DEFAULT); + *data = mutex_create(MUTEX_TYPE_RECURSIVE); return CKR_OK; } |