summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexdh.c')
-rw-r--r--kexdh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexdh.c b/kexdh.c
index cfeb6298a..eaf497ca7 100644
--- a/kexdh.c
+++ b/kexdh.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: kexdh.c,v 1.16 2002/02/24 19:14:59 markus Exp $"); 26RCSID("$OpenBSD: kexdh.c,v 1.17 2002/02/28 15:46:33 markus Exp $");
27 27
28#include <openssl/crypto.h> 28#include <openssl/crypto.h>
29#include <openssl/bn.h> 29#include <openssl/bn.h>
@@ -51,7 +51,7 @@ kex_dh_hash(
51{ 51{
52 Buffer b; 52 Buffer b;
53 static u_char digest[EVP_MAX_MD_SIZE]; 53 static u_char digest[EVP_MAX_MD_SIZE];
54 EVP_MD *evp_md = EVP_sha1(); 54 const EVP_MD *evp_md = EVP_sha1();
55 EVP_MD_CTX md; 55 EVP_MD_CTX md;
56 56
57 buffer_init(&b); 57 buffer_init(&b);