summaryrefslogtreecommitdiff
path: root/debian/patches/openvpn-pkcs11warn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/openvpn-pkcs11warn.patch')
-rw-r--r--debian/patches/openvpn-pkcs11warn.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/openvpn-pkcs11warn.patch b/debian/patches/openvpn-pkcs11warn.patch
index 2aaea75..eae8fe4 100644
--- a/debian/patches/openvpn-pkcs11warn.patch
+++ b/debian/patches/openvpn-pkcs11warn.patch
@@ -3,9 +3,9 @@ Author: Florian Kulzer <florian.kulzer+debian@icfo.es>
Bug-Debian: http://bugs.debian.org/475353
Index: openvpn/src/openvpn/options.c
===================================================================
---- openvpn.orig/src/openvpn/options.c 2016-01-20 12:02:32.953360525 +0100
-+++ openvpn/src/openvpn/options.c 2016-01-20 12:02:32.949360569 +0100
-@@ -6346,6 +6346,20 @@
+--- openvpn.orig/src/openvpn/options.c 2016-11-21 09:53:53.100906016 +0100
++++ openvpn/src/openvpn/options.c 2016-11-21 09:53:53.096905998 +0100
+@@ -6569,6 +6569,20 @@
{
VERIFY_PERMISSION (OPT_P_ROUTE_EXTRAS);
}
@@ -25,4 +25,4 @@ Index: openvpn/src/openvpn/options.c
+ }
#endif
#if PASSTOS_CAPABILITY
- else if (streq (p[0], "passtos"))
+ else if (streq (p[0], "passtos") && !p[1])