packages/net/ipsec-tools/patches/012-fix-implicit-int.patch
Eneas Queiroz 57c8664b31 ipsec-tools: compile with openssl 1.1, compile fix (#6141)
Added compatibility with openssl 1.1, and also fixed a compiler
warning about implicit declaration.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-07-26 20:00:29 -07:00

11 lines
273 B
Diff

--- a/src/racoon/isakmp_xauth.c
+++ b/src/racoon/isakmp_xauth.c
@@ -376,6 +376,7 @@ xauth_reply(iph1, port, id, res)
struct ph1handle *iph1;
int port;
int id;
+ int res;
{
struct xauth_state *xst = &iph1->mode_cfg->xauth;
char *usr = xst->authdata.generic.usr;