]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: fix reversed arguments to kex_load_hostkey(); manifested as
authordjm@openbsd.org <djm@openbsd.org>
Mon, 21 Jan 2019 12:08:13 +0000 (12:08 +0000)
committerDamien Miller <djm@mindrot.org>
Mon, 21 Jan 2019 12:13:53 +0000 (23:13 +1100)
errors in cert-hostkey.sh regress failures.

OpenBSD-Commit-ID: 12dab63850b844f84d5a67e86d9e21a42fba93ba

kex.c

diff --git a/kex.c b/kex.c
index cec9b29854b862b47234fef9c1d8f7b11fbeb6d6..34808b5c39dab7000f67ddd4ed3c7a9efb783d84 100644 (file)
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.c,v 1.149 2019/01/21 10:40:11 djm Exp $ */
+/* $OpenBSD: kex.c,v 1.150 2019/01/21 12:08:13 djm Exp $ */
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
  *
@@ -1039,7 +1039,7 @@ kex_derive_keys(struct ssh *ssh, u_char *hash, u_int hashlen,
 }
 
 int
-kex_load_hostkey(struct ssh *ssh, struct sshkey **pubp, struct sshkey **prvp)
+kex_load_hostkey(struct ssh *ssh, struct sshkey **prvp, struct sshkey **pubp)
 {
        struct kex *kex = ssh->kex;