[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenVPN 2.1-rc5 released


  • Subject: Re: [Openvpn-users] OpenVPN 2.1-rc5 released
  • From: "Alon Bar-Lev" <alon.barlev@xxxxxxxxx>
  • Date: Thu, 24 Jan 2008 01:07:52 +0200

On 1/24/08, Carsten Krüger <C.Krueger@xxxxxxx> wrote:
> Hello Alon,
>
> > On 1/24/08, Carsten Krüger <C.Krueger@xxxxxxx> wrote:
> >> I get this error:
> >>
> >> Options error: Parameter pkcs11_private_mode can only be specified in TLS-mode,
> >> i.e. where --tls-server or --tls-client is also specified.
> >> Use --help for more information.
> >> Press any key to continue...
>
> > I guess you need to add tls-client to your configuration file.
>
> Not in static key mode.

True!
Found it!

Patch attached.

Thanks!
Index: options.c
===================================================================
--- options.c	(revision 2662)
+++ options.c	(working copy)
@@ -1868,7 +1868,7 @@
       MUST_BE_UNDEF (remote_cert_eku);
 #ifdef ENABLE_PKCS11
       MUST_BE_UNDEF (pkcs11_providers[0]);
-      MUST_BE_UNDEF (pkcs11_private_mode);
+      MUST_BE_UNDEF (pkcs11_private_mode[0]);
       MUST_BE_UNDEF (pkcs11_id);
 #endif
 
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users