diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-21 12:08:13 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-21 23:13:53 +1100 |
commit | 70edd73edc4df54e5eee50cd27c25427b34612f8 (patch) | |
tree | d60fb0d0cf4cc75e3fc5916c61f12d189bdcc5ab /kex.c | |
parent | f1185abbf0c9108e639297addc77f8757ee00eb3 (diff) |
upstream: fix reversed arguments to kex_load_hostkey(); manifested as
errors in cert-hostkey.sh regress failures.
OpenBSD-Commit-ID: 12dab63850b844f84d5a67e86d9e21a42fba93ba
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.149 2019/01/21 10:40:11 djm Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.150 2019/01/21 12:08:13 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -1039,7 +1039,7 @@ kex_derive_keys(struct ssh *ssh, u_char *hash, u_int hashlen, | |||
1039 | } | 1039 | } |
1040 | 1040 | ||
1041 | int | 1041 | int |
1042 | kex_load_hostkey(struct ssh *ssh, struct sshkey **pubp, struct sshkey **prvp) | 1042 | kex_load_hostkey(struct ssh *ssh, struct sshkey **prvp, struct sshkey **pubp) |
1043 | { | 1043 | { |
1044 | struct kex *kex = ssh->kex; | 1044 | struct kex *kex = ssh->kex; |
1045 | 1045 | ||