summaryrefslogtreecommitdiff
path: root/kexc25519c.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexc25519c.c')
-rw-r--r--kexc25519c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexc25519c.c b/kexc25519c.c
index e488013e9..a8d92149c 100644
--- a/kexc25519c.c
+++ b/kexc25519c.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexc25519c.c,v 1.8 2017/05/31 04:17:12 djm Exp $ */ 1/* $OpenBSD: kexc25519c.c,v 1.9 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.
@@ -141,7 +141,7 @@ input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh)
141 goto out; 141 goto out;
142 142
143 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen, 143 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen,
144 ssh->compat)) != 0) 144 kex->hostkey_alg, ssh->compat)) != 0)
145 goto out; 145 goto out;
146 146
147 /* save session id */ 147 /* save session id */