projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
433858d
)
- Don't forget to set packet cipher for added hosts.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Nov 2000 16:39:19 +0000
(16:39 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 4 Nov 2000 16:39:19 +0000
(16:39 +0000)
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/protocol.c
b/src/protocol.c
index aeeec1be63be18985aa9cde7302b89b5478d4345..31c9aeeb2756597e1da68c9fd7a703e12b3a205f 100644
(file)
--- 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.
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.5
4 2000/11/03 22:35:11 zarq
Exp $
+ $Id: protocol.c,v 1.28.4.5
5 2000/11/04 16:39:19 guus
Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-872,6
+872,8
@@
cp
new->nexthop = cl;
new->status.active = 1;
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;
cp
return 0;