diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-05 01:33:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-05 01:33:36 +0000 |
commit | 80cb27dd7c7caa07615bf375a3bd090085f2d33d (patch) | |
tree | b9ca8e705cd36815131349a021ad0546eb44dda9 /kexdh.c | |
parent | 733a2351f52f8c8451a61f0ae636081f55b019f7 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kexdh.c,v 1.16 2002/02/24 19:14:59 markus Exp $"); | 26 | RCSID("$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); |