1 |
unnilennium |
1.1 |
--- smeserver-openvpn-bridge-2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/openvpnbridge.pm.tls_client 2009-07-22 09:43:19.000000000 +0200 |
2 |
|
|
+++ smeserver-openvpn-bridge-2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/openvpnbridge.pm 2009-09-29 07:58:46.000000000 +0200 |
3 |
|
|
@@ -522,7 +522,8 @@ |
4 |
|
|
$fic .= "dev tap\n"; |
5 |
|
|
$fic .= "nobind\n"; |
6 |
|
|
$fic .= "remote ".$config_db->get('SystemName')->value.".".$config_db->get('DomainName')->value."\n\n"; |
7 |
|
|
- $fic .= "tls-client\ntls-auth takey.pem 1\n" |
8 |
|
|
+ $fic .= "tls-client\n"; |
9 |
|
|
+ $fic .= "tls-auth takey.pem 1\n" |
10 |
|
|
if (( -e "$privdir/takey.pem")&&( !-z "$privdir/takey.pem")); |
11 |
|
|
$fic .= "ns-cert-type server\n\n"; |
12 |
|
|
$fic .= (get_prop('','userAuth','CrtWithPass') eq 'CrtWithPass' ? "auth-user-pass\n\n" : "\n"); |