diff options
Diffstat (limited to 'kexdhs.c')
-rw-r--r-- | kexdhs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexdhs.c,v 1.22 2015/01/26 06:10:03 djm Exp $ */ | 1 | /* $OpenBSD: kexdhs.c,v 1.23 2015/12/04 16:41:28 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -181,8 +181,8 @@ input_kex_dh_init(int type, u_int32_t seq, void *ctxt) | |||
181 | } | 181 | } |
182 | 182 | ||
183 | /* sign H */ | 183 | /* sign H */ |
184 | if ((r = kex->sign(server_host_private, server_host_public, | 184 | if ((r = kex->sign(server_host_private, server_host_public, &signature, |
185 | &signature, &slen, hash, hashlen, ssh->compat)) < 0) | 185 | &slen, hash, hashlen, kex->hostkey_alg, ssh->compat)) < 0) |
186 | goto out; | 186 | goto out; |
187 | 187 | ||
188 | /* destroy_sensitive_data(); */ | 188 | /* destroy_sensitive_data(); */ |