diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2019-01-21 12:08:14 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2019-01-21 12:08:14 +0000 |
commit | e2df35bcf9dbf4897985e6afa8a519abd2002f1c (patch) | |
tree | 3b29719877167321e4979d525f332da106ecbe3b | |
parent | fea913c834aefee8f89f149ca7e724a83fff22bc (diff) |
fix reversed arguments to kex_load_hostkey(); manifested as errors in
cert-hostkey.sh regress failures.
-rw-r--r-- | usr.bin/ssh/kex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c index 8c9ef5c6a97..374b8271d37 100644 --- a/usr.bin/ssh/kex.c +++ b/usr.bin/ssh/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. * @@ -1026,7 +1026,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; |