diff options
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 6 |
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" |
39 | RCSID("$OpenBSD: ssh-agent.c,v 1.76 2001/12/27 18:22:16 markus Exp $"); | 39 | RCSID("$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); |