summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-11-25 10:23:37 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-11-25 10:23:37 +0000
commit10500862c53abc5bd246f77cde11fded50f1c14b (patch)
treec05a03280aeb0882491b9d6cdb7ce5820cdc96fe /usr.bin/ssh/monitor.c
parentead357617300ffd2c79b1b1bd50f1ebf284217f3 (diff)
redundant test
Diffstat (limited to 'usr.bin/ssh/monitor.c')
-rw-r--r--usr.bin/ssh/monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c
index 5eac9cd5abd..0ffc063f71e 100644
--- a/usr.bin/ssh/monitor.c
+++ b/usr.bin/ssh/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.204 2019/11/25 00:54:23 djm Exp $ */
+/* $OpenBSD: monitor.c,v 1.205 2019/11/25 10:23:36 djm Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -1220,7 +1220,7 @@ mm_answer_keyverify(struct ssh *ssh, int sock, struct sshbuf *m)
/* encode ret != 0 as positive integer, since we're sending u32 */
encoded_ret = (ret != 0);
if ((r = sshbuf_put_u32(m, encoded_ret)) != 0 ||
- (r = sshbuf_put_u8(m, sig_details != NULL != 0)) != 0)
+ (r = sshbuf_put_u8(m, sig_details != NULL)) != 0)
fatal("%s: buffer error: %s", __func__, ssh_err(r));
if (sig_details != NULL) {
if ((r = sshbuf_put_u32(m, sig_details->sk_counter)) != 0 ||