summaryrefslogtreecommitdiff
path: root/kexdh.c
diff options
context:
space:
mode:
authormouring <mouring>2002-03-05 01:33:36 +0000
committermouring <mouring>2002-03-05 01:33:36 +0000
commitdb05553aab7e33ad8ad073bd312e9fac2ff0a546 (patch)
tree3ffc9ae7b30e60494e5d76e7a27d979fe66a7c9e /kexdh.c
parentf6046e5cb8143c8d8365bd8cb941b6522925456b (diff)
downloadopenssh-db05553aab7e33ad8ad073bd312e9fac2ff0a546.tar.gz
- 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);