summaryrefslogtreecommitdiffstats
path: root/kexc25519s.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexc25519s.c')
-rw-r--r--kexc25519s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexc25519s.c b/kexc25519s.c
index 784841b8..dc4f56c8 100644
--- a/kexc25519s.c
+++ b/kexc25519s.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kexc25519s.c,v 1.2 2013/11/02 22:02:14 markus Exp $ */
+/* $OpenBSD: kexc25519s.c,v 1.3 2014/01/09 23:20:00 djm Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2010 Damien Miller. All rights reserved.
@@ -81,7 +81,7 @@ kexc25519_server(Kex *kex)
/* calc H */
key_to_blob(server_host_public, &server_host_key_blob, &sbloblen);
kex_c25519_hash(
- kex->evp_md,
+ kex->hash_alg,
kex->client_version_string,
kex->server_version_string,
buffer_ptr(&kex->peer), buffer_len(&kex->peer),