summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:18:15 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:18:15 +1100
commit708d21c8028ed2bf137a0c4ff75bf7c6bfeff6e9 (patch)
treee878520026f2a9e970f4152da6ffb3b864a2a195 /ssh-agent.c
parentdc9e067614947f2f2b0866cb1bc75e6ac620fb7f (diff)
- stevesk@cvs.openbsd.org 2001/12/29 21:56:01
[authfile.c channels.c compress.c packet.c sftp-server.c ssh-agent.c ssh-keygen.c] remove unneeded casts and some char->u_char cleanup; ok markus@
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 5620b6b90..f5849cee4 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.76 2001/12/27 18:22:16 markus Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.77 2001/12/29 21:56:01 stevesk Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: ssh-agent.c,v 1.76 2001/12/27 18:22:16 markus Exp $"); 39RCSID("$OpenBSD: ssh-agent.c,v 1.77 2001/12/29 21:56:01 stevesk Exp $");
40 40
41#include <openssl/evp.h> 41#include <openssl/evp.h>
42#include <openssl/md5.h> 42#include <openssl/md5.h>
@@ -566,7 +566,7 @@ process_message(SocketEntry *e)
566 u_char *cp; 566 u_char *cp;
567 if (buffer_len(&e->input) < 5) 567 if (buffer_len(&e->input) < 5)
568 return; /* Incomplete message. */ 568 return; /* Incomplete message. */
569 cp = (u_char *) buffer_ptr(&e->input); 569 cp = buffer_ptr(&e->input);
570 msg_len = GET_32BIT(cp); 570 msg_len = GET_32BIT(cp);
571 if (msg_len > 256 * 1024) { 571 if (msg_len > 256 * 1024) {
572 shutdown(e->fd, SHUT_RDWR); 572 shutdown(e->fd, SHUT_RDWR);