From 3f8f067e8b559366b9b41dee6a4312702c82042f Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 4 Nov 2000 16:39:19 +0000 Subject: [PATCH] - Don't forget to set packet cipher for added hosts. --- src/protocol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/protocol.c b/src/protocol.c index aeeec1be..31c9aeeb 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: protocol.c,v 1.28.4.54 2000/11/03 22:35:11 zarq Exp $ + $Id: protocol.c,v 1.28.4.55 2000/11/04 16:39:19 guus Exp $ */ #include "config.h" @@ -872,6 +872,8 @@ cp new->nexthop = cl; new->status.active = 1; + new->cipher_pkttype = EVP_bf_cfb(); + new->cipher_pktkeylength = cl->cipher_pkttype->key_len + cl->cipher_pkttype->iv_len; cp return 0; -- 2.20.1