summaryrefslogtreecommitdiff
path: root/debian/patches/fix-pkcs11-helper-hang.patch
blob: 41d9be123a07c1e930299a784681a4ab0853b915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: openvpn/src/openvpn/pkcs11.c
===================================================================
--- openvpn.orig/src/openvpn/pkcs11.c
+++ openvpn/src/openvpn/pkcs11.c
@@ -312,7 +312,7 @@ pkcs11_initialize(
 
     pkcs11h_setLogLevel(_pkcs11_msg_openvpn2pkcs11(get_debug_level()));
 
-    if ((rv = pkcs11h_setForkMode(TRUE)) != CKR_OK)
+    if ((rv = pkcs11h_setForkMode(FALSE)) != CKR_OK)
     {
         msg(M_FATAL, "PKCS#11: Cannot set fork mode %ld-'%s'", rv, pkcs11h_getMessage(rv));
         goto cleanup;