|
|
|
|
@ -1,20 +1,7 @@
|
|
|
|
|
Index: sample-scripts/verify-cn
|
|
|
|
|
--- sample-scripts/verify-cn.orig 2005-02-07 03:08:16 +0100
|
|
|
|
|
+++ sample-scripts/verify-cn 2005-08-25 19:37:04 +0200
|
|
|
|
|
@@ -36,7 +36,8 @@
|
|
|
|
|
if ($x509 =~ /\/CN=([^\/]+)/) {
|
|
|
|
|
# Accept the connection if the X509 common name
|
|
|
|
|
# string matches the passed cn argument.
|
|
|
|
|
- if ($cn eq $1) {
|
|
|
|
|
+ my $x509_cn = $1;
|
|
|
|
|
+ if ($x509_cn =~ m/^${cn}$/s) {
|
|
|
|
|
exit 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Index: tun.c
|
|
|
|
|
--- tun.c.orig 2005-08-04 06:46:17.000000000 +0200
|
|
|
|
|
+++ tun.c 2005-09-28 20:31:17.062344594 +0200
|
|
|
|
|
@@ -1168,7 +1168,8 @@
|
|
|
|
|
--- tun.c.orig 2011-04-06 18:05:52.000000000 +0200
|
|
|
|
|
+++ tun.c 2011-04-30 10:22:38.000000000 +0200
|
|
|
|
|
@@ -1400,7 +1400,8 @@
|
|
|
|
|
#elif defined(TARGET_SOLARIS)
|
|
|
|
|
|
|
|
|
|
#ifndef TUNNEWPPA
|
|
|
|
|
|