summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:33:31 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:33:31 +1100
commit4a8ed543612c99700788d87fe18081d5df4b37c6 (patch)
tree3a102ce09b19c658de9bdb28e0e449261d15db9e /packet.c
parent9c3f9505d9401a7af93098a59f3979e4608cde50 (diff)
- stevesk@cvs.openbsd.org 2002/01/18 18:14:17
[authfd.c bufaux.c buffer.c cipher.c packet.c ssh-agent.c ssh-keygen.c] unneeded cast cleanup; ok markus@
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet.c b/packet.c
index 3b3faeeaf..960675a93 100644
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#include "includes.h" 39#include "includes.h"
40RCSID("$OpenBSD: packet.c,v 1.84 2002/01/11 10:31:05 markus Exp $"); 40RCSID("$OpenBSD: packet.c,v 1.85 2002/01/18 18:14:17 stevesk Exp $");
41 41
42#include "xmalloc.h" 42#include "xmalloc.h"
43#include "buffer.h" 43#include "buffer.h"
@@ -130,8 +130,8 @@ packet_set_connection(int fd_in, int fd_out)
130 fatal("packet_set_connection: cannot load cipher 'none'"); 130 fatal("packet_set_connection: cannot load cipher 'none'");
131 connection_in = fd_in; 131 connection_in = fd_in;
132 connection_out = fd_out; 132 connection_out = fd_out;
133 cipher_init(&send_context, none, (u_char *) "", 0, NULL, 0); 133 cipher_init(&send_context, none, "", 0, NULL, 0);
134 cipher_init(&receive_context, none, (u_char *) "", 0, NULL, 0); 134 cipher_init(&receive_context, none, "", 0, NULL, 0);
135 newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL; 135 newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL;
136 if (!initialized) { 136 if (!initialized) {
137 initialized = 1; 137 initialized = 1;