Re: [Openvpn-devel] [PATCH 7/8] OpenSSL: don't use direct access to the internal of HMAC_CTX

2017-06-19 Thread Emmanuel Deloget
Hello Steffan, On Sun, Jun 18, 2017 at 1:38 PM, Steffan Karger wrote: > Hi, > > On 12-06-17 15:43, log...@free.fr wrote: > > +#if !defined(HAVE_HMAC_CTX_INIT) > > +/** > > + * Init a HMAC context > > + * > > + * @param ctx The HMAC context > > + * > > + *

Re: [Openvpn-devel] [PATCH 7/8] OpenSSL: don't use direct access to the internal of HMAC_CTX

2017-06-18 Thread Steffan Karger
Hi, On 12-06-17 15:43, log...@free.fr wrote: > From: Emmanuel Deloget > > OpenSSL 1.1 does not allow us to directly access the internal of > any data type, including HMAC_CTX. We have to use the defined > functions to do so. > > Compatibility with OpenSSL 1.0 is kept by

[Openvpn-devel] [PATCH 7/8] OpenSSL: don't use direct access to the internal of HMAC_CTX

2017-06-12 Thread logout
From: Emmanuel Deloget OpenSSL 1.1 does not allow us to directly access the internal of any data type, including HMAC_CTX. We have to use the defined functions to do so. Compatibility with OpenSSL 1.0 is kept by defining the corresponding functions when they are not found in the