]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: reversed test yielded incorrect debug message
authordjm@openbsd.org <djm@openbsd.org>
Mon, 7 Oct 2019 23:10:38 +0000 (23:10 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 9 Oct 2019 00:06:47 +0000 (11:06 +1100)
OpenBSD-Commit-ID: 78bb512d04cfc238adb2c5b7504ac93eecf523b3

monitor.c

index 5076a74ff0a777d60379392557ebc026b36b127e..00af44f98ba942e7908ab28e1621a12796f34130 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.198 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: monitor.c,v 1.199 2019/10/07 23:10:38 djm Exp $ */
 /*
  * Copyright 2002 Niels Provos <provos@citi.umich.edu>
  * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -692,7 +692,7 @@ mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m)
                fatal("%s: no hostkey from index %d", __func__, keyid);
 
        debug3("%s: %s signature %p(%zu)", __func__,
-           is_proof ? "KEX" : "hostkey proof", signature, siglen);
+           is_proof ? "hostkey proof" : "KEX", signature, siglen);
 
        sshbuf_reset(m);
        if ((r = sshbuf_put_string(m, signature, siglen)) != 0)