diff options
Diffstat (limited to 'kexecdhc.c')
-rw-r--r-- | kexecdhc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexecdhc.c b/kexecdhc.c index d8a8b660f..67669b3bf 100644 --- a/kexecdhc.c +++ b/kexecdhc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexecdhc.c,v 1.11 2017/05/30 14:23:52 markus Exp $ */ | 1 | /* $OpenBSD: kexecdhc.c,v 1.12 2017/12/18 02:25:15 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2010 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2010 Damien Miller. All rights reserved. |
@@ -188,7 +188,7 @@ input_kex_ecdh_reply(int type, u_int32_t seq, struct ssh *ssh) | |||
188 | goto out; | 188 | goto out; |
189 | 189 | ||
190 | if ((r = sshkey_verify(server_host_key, signature, slen, hash, | 190 | if ((r = sshkey_verify(server_host_key, signature, slen, hash, |
191 | hashlen, ssh->compat)) != 0) | 191 | hashlen, kex->hostkey_alg, ssh->compat)) != 0) |
192 | goto out; | 192 | goto out; |
193 | 193 | ||
194 | /* save session id */ | 194 | /* save session id */ |