summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-05 01:33:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-05 01:33:36 +0000
commit80cb27dd7c7caa07615bf375a3bd090085f2d33d (patch)
treeb9ca8e705cd36815131349a021ad0546eb44dda9 /kexdh.c
parent733a2351f52f8c8451a61f0ae636081f55b019f7 (diff)
- markus@cvs.openbsd.org 2002/02/28 15:46:33
[authfile.c kex.c kexdh.c kexgex.c key.c ssh-dss.c] add some const EVP_MD for openssl-0.9.7
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 cfeb6298..eaf497ca 100644
--- a/kexdh.c
+++ b/kexdh.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kexdh.c,v 1.16 2002/02/24 19:14:59 markus Exp $");
+RCSID("$OpenBSD: kexdh.c,v 1.17 2002/02/28 15:46:33 markus Exp $");
#include <openssl/crypto.h>
#include <openssl/bn.h>
@@ -51,7 +51,7 @@ kex_dh_hash(
{
Buffer b;
static u_char digest[EVP_MAX_MD_SIZE];
- EVP_MD *evp_md = EVP_sha1();
+ const EVP_MD *evp_md = EVP_sha1();
EVP_MD_CTX md;
buffer_init(&b);