summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2002-01-18 18:14:17 +0000
committerstevesk <stevesk@openbsd.org>2002-01-18 18:14:17 +0000
commit775e3c00c615c908cc64a0d58632a63801278f76 (patch)
tree30983ceb616e63e37cf7603bbefaafec0550051b /usr.bin/ssh/ssh-agent.c
parentcorrect Ciphers default; paola.mannaro@ubs.com (diff)
downloadwireguard-openbsd-775e3c00c615c908cc64a0d58632a63801278f76.tar.xz
wireguard-openbsd-775e3c00c615c908cc64a0d58632a63801278f76.zip
unneeded cast cleanup; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index e2a810b6a61..3d0979b75b5 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.78 2002/01/13 17:27:07 provos Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.79 2002/01/18 18:14:17 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -37,7 +37,7 @@
#include "includes.h"
#include <sys/queue.h>
-RCSID("$OpenBSD: ssh-agent.c,v 1.78 2002/01/13 17:27:07 provos Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.79 2002/01/18 18:14:17 stevesk Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -201,7 +201,7 @@ process_authentication_challenge1(SocketEntry *e)
/* Only protocol 1.1 is supported */
if (buffer_len(&e->input) == 0)
goto failure;
- buffer_get(&e->input, (char *) session_id, 16);
+ buffer_get(&e->input, session_id, 16);
response_type = buffer_get_int(&e->input);
if (response_type != 1)
goto failure;