diff options
Diffstat (limited to 'kexc25519s.c')
-rw-r--r-- | kexc25519s.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexc25519s.c b/kexc25519s.c index 81f816e56..9ff74d912 100644 --- a/kexc25519s.c +++ b/kexc25519s.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexc25519s.c,v 1.12 2018/12/27 03:25:25 djm Exp $ */ | 1 | /* $OpenBSD: kexc25519s.c,v 1.13 2019/01/19 21:43:56 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. |
@@ -133,8 +133,8 @@ input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) | |||
133 | } | 133 | } |
134 | 134 | ||
135 | /* sign H */ | 135 | /* sign H */ |
136 | if ((r = kex->sign(server_host_private, server_host_public, &signature, | 136 | if ((r = kex->sign(ssh, server_host_private, server_host_public, |
137 | &slen, hash, hashlen, kex->hostkey_alg, ssh->compat)) < 0) | 137 | &signature, &slen, hash, hashlen, kex->hostkey_alg)) < 0) |
138 | goto out; | 138 | goto out; |
139 | 139 | ||
140 | /* send server hostkey, ECDH pubkey 'Q_S' and signed H */ | 140 | /* send server hostkey, ECDH pubkey 'Q_S' and signed H */ |