[Openvpn-devel] certificate key usage in openvpn

2012-03-25 Thread Mr Dash Four
Looking at the openvpn manual, the predefined certificate key usage for clients is "digitalSignature and/or keyAgreement" (or "80 08 88"). The same for the server is "digitalSignature and ( keyEncipherment or keyAgreement )" - "a0 88". According to Section 4.2.1.3 of RFC3280, the certificate k

Re: [Openvpn-devel] [PATCH] cleanup: flags should not be bool

2012-03-25 Thread Gert Doering
Hi, On Sun, Mar 25, 2012 at 01:27:02PM +0200, Alon Bar-Lev wrote: > Discussed at [1][2][3]. > > [1] https://bugs.gentoo.org/show_bug.cgi?id=297854#c2 > [2] https://297854.bugs.gentoo.org/attachment.cgi?id=214304 > [3] > http://sourceforge.net/mailarchive/forum.php?thread_name=20120325111517.GI13

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Alon Bar-Lev
On Sat, Mar 24, 2012 at 9:21 PM, Alon Bar-Lev wrote: > On Sat, Mar 24, 2012 at 9:15 PM, Alon Bar-Lev wrote: >> PPC architectures and conflict with stdbool.h. >> >> basic.h defines a type 'bool' that conflicts with the altivec >> keyword bool which has to be fixed upstream, see bugs[1][2]. >> >> [

[Openvpn-devel] [PATCH] cleanup: flags should not be bool

2012-03-25 Thread Alon Bar-Lev
Discussed at [1][2][3]. [1] https://bugs.gentoo.org/show_bug.cgi?id=297854#c2 [2] https://297854.bugs.gentoo.org/attachment.cgi?id=214304 [3] http://sourceforge.net/mailarchive/forum.php?thread_name=20120325111517.GI1359%40greenie.muc.de&forum_name=openvpn-devel Signed-off-by: Alon Bar-Lev ---

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Alon Bar-Lev
On Sun, Mar 25, 2012 at 1:12 PM, Gert Doering wrote: > Personally I think that this is a regression in GCC, and we should NOT > do anything about it.  If the compiler is documented to have a new > data type "bool__", it should not mess with "bool", which is a different > name by all means - bad en

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Gert Doering
Hi, On Sun, Mar 25, 2012 at 01:10:45PM +0200, Alon Bar-Lev wrote: > However the flags modifications from [1] should be merged anyway, I > will submit a patch. > > What do you think? > > Thanks, > Alon. > > [1] https://297854.bugs.gentoo.org/attachment.cgi?id=214304 I strongly support that. Th

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Gert Doering
Hi, On Sun, Mar 25, 2012 at 12:51:55PM +0200, Fabian Knittel wrote: > 2012/3/24 Alon Bar-Lev : > > On Sat, Mar 24, 2012 at 9:15 PM, Alon Bar-Lev wrote: > >> PPC architectures and conflict with stdbool.h. > >> > >> basic.h defines a type 'bool' that conflicts with the altivec > >> keyword bool whi

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Alon Bar-Lev
On Sun, Mar 25, 2012 at 12:51 PM, Fabian Knittel wrote: > > Hi Alon, > > 2012/3/24 Alon Bar-Lev : > > On Sat, Mar 24, 2012 at 9:15 PM, Alon Bar-Lev > > wrote: > >> PPC architectures and conflict with stdbool.h. > >> > >> basic.h defines a type 'bool' that conflicts with the altivec > >> keyword b

Re: [Openvpn-devel] [PATCH] build: rename bool->obool

2012-03-25 Thread Fabian Knittel
Hi Alon, 2012/3/24 Alon Bar-Lev : > On Sat, Mar 24, 2012 at 9:15 PM, Alon Bar-Lev wrote: >> PPC architectures and conflict with stdbool.h. >> >> basic.h defines a type 'bool' that conflicts with the altivec >> keyword bool which has to be fixed upstream, see bugs[1][2]. >> >> [1] https://bugs.gen