diff options
author | Colin Watson <cjwatson@debian.org> | 2016-02-29 12:15:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-03-08 11:51:22 +0000 |
commit | 46961f5704f8e86cea3e99253faad55aef4d8f35 (patch) | |
tree | 0dd97fa4fb649a62b4639fe2674380872b1f3e98 /kexc25519s.c | |
parent | c753fe267efb1b027424fa8706cf0385fc3d14c1 (diff) | |
parent | 85e40e87a75fb80a0bf893ac05a417d6c353537d (diff) |
New upstream release (7.2).
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 240272533..4e77622b0 100644 --- a/kexc25519s.c +++ b/kexc25519s.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kexc25519s.c,v 1.9 2015/04/27 00:37:53 dtucker Exp $ */ | 1 | /* $OpenBSD: kexc25519s.c,v 1.10 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 | * Copyright (c) 2010 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2010 Damien Miller. All rights reserved. |
@@ -134,8 +134,8 @@ input_kex_c25519_init(int type, u_int32_t seq, void *ctxt) | |||
134 | } | 134 | } |
135 | 135 | ||
136 | /* sign H */ | 136 | /* sign H */ |
137 | if ((r = kex->sign(server_host_private, server_host_public, | 137 | if ((r = kex->sign(server_host_private, server_host_public, &signature, |
138 | &signature, &slen, hash, hashlen, ssh->compat)) < 0) | 138 | &slen, hash, hashlen, kex->hostkey_alg, ssh->compat)) < 0) |
139 | goto out; | 139 | goto out; |
140 | 140 | ||
141 | /* send server hostkey, ECDH pubkey 'Q_S' and signed H */ | 141 | /* send server hostkey, ECDH pubkey 'Q_S' and signed H */ |