diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2020-09-16 03:07:32 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2020-09-16 03:07:32 +0000 |
commit | 859df298a535fa02d4082f3b02e1a81a4a7456b9 (patch) | |
tree | 47bb766d3500f33d519252b7f0e9b55cb54aed97 /usr.bin | |
parent | acbd986476d66061eb89b637a8dc33e4de0b822c (diff) |
Remove unused buf, last user was removed when switching to the sshbuf API.
Patch from Sebastian Andrzej Siewior.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 61e48afd6b6..0617d255a1e 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.345 2020/07/03 05:09:06 dtucker Exp $ */ +/* $OpenBSD: clientloop.c,v 1.346 2020/09/16 03:07:31 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1230,7 +1230,6 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, int r, max_fd = 0, max_fd2 = 0, len; u_int64_t ibytes, obytes; u_int nalloc = 0; - char buf[100]; debug("Entering interactive session."); @@ -1459,7 +1458,6 @@ client_loop(struct ssh *ssh, int have_pty, int escape_char_arg, } /* Clear and free any buffers. */ - explicit_bzero(buf, sizeof(buf)); sshbuf_free(stderr_buffer); /* Report bytes transferred, and transfer rates. */ |