diff options
Diffstat (limited to 'kexgexc.c')
-rw-r--r-- | kexgexc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexgexc.c,v 1.25 2017/05/30 14:23:52 markus Exp $ */ | 1 | /* $OpenBSD: kexgexc.c,v 1.26 2017/12/18 02:25:15 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 3 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
@@ -230,7 +230,7 @@ input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh) | |||
230 | goto out; | 230 | goto out; |
231 | 231 | ||
232 | if ((r = sshkey_verify(server_host_key, signature, slen, hash, | 232 | if ((r = sshkey_verify(server_host_key, signature, slen, hash, |
233 | hashlen, ssh->compat)) != 0) | 233 | hashlen, kex->hostkey_alg, ssh->compat)) != 0) |
234 | goto out; | 234 | goto out; |
235 | 235 | ||
236 | /* save session id */ | 236 | /* save session id */ |