summaryrefslogtreecommitdiff
path: root/kexc25519s.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexc25519s.c')
-rw-r--r--kexc25519s.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexc25519s.c b/kexc25519s.c
index d7cc70fee..ace4d5c79 100644
--- a/kexc25519s.c
+++ b/kexc25519s.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexc25519s.c,v 1.15 2019/01/21 10:05:09 djm Exp $ */ 1/* $OpenBSD: kexc25519s.c,v 1.16 2019/01/21 10:20:12 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.
@@ -104,10 +104,10 @@ input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh)
104 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer), 104 sshbuf_ptr(kex->peer), sshbuf_len(kex->peer),
105 sshbuf_ptr(kex->my), sshbuf_len(kex->my), 105 sshbuf_ptr(kex->my), sshbuf_len(kex->my),
106 server_host_key_blob, sbloblen, 106 server_host_key_blob, sbloblen,
107 client_pubkey, 107 client_pubkey, pklen,
108 server_pubkey, 108 server_pubkey, sizeof(server_pubkey),
109 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret), 109 sshbuf_ptr(shared_secret), sshbuf_len(shared_secret),
110 hash, &hashlen)) < 0) 110 hash, &hashlen)) != 0)
111 goto out; 111 goto out;
112 112
113 /* sign H */ 113 /* sign H */