Re: [Openvpn-devel] [PATCH] make struct key * argument of init_key_ctx const

2017-11-03 Thread Gert Doering
Hi, On Fri, Nov 03, 2017 at 07:24:33PM +0100, Gert Doering wrote: > On Mon, Oct 23, 2017 at 11:40:13AM +0200, Steffan Karger wrote: > > This can be const, and should thus be const. (Also, resolves a compiler > > warning.) [..] > I think the patch is good, but it *so* does not apply for me... > >

Re: [Openvpn-devel] [PATCH] make struct key * argument of init_key_ctx const

2017-11-03 Thread Gert Doering
Hi, On Mon, Oct 23, 2017 at 11:40:13AM +0200, Steffan Karger wrote: > This can be const, and should thus be const. (Also, resolves a compiler > warning.) > > Signed-off-by: Steffan Karger > --- > src/openvpn/crypto.c | 2 +- > src/openvpn/crypto.h | 2 +- > src/openvpn/crypto_b

[Openvpn-devel] [PATCH] make struct key * argument of init_key_ctx const

2017-10-23 Thread Steffan Karger
This can be const, and should thus be const. (Also, resolves a compiler warning.) Signed-off-by: Steffan Karger --- src/openvpn/crypto.c | 2 +- src/openvpn/crypto.h | 2 +- src/openvpn/crypto_backend.h | 2 +- src/openvpn/crypto_mbedtls.c | 2 +- src/openvpn/crypto_openssl.c |