X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/2f360c89f8a5cef0ae188bbacc0b341378daf238..d03186af8de9b660564ccc1804d2a9c2e93b2e58:/md-sha256.c diff --git a/md-sha256.c b/md-sha256.c index 0b1ed582..8c1b3b92 100644 --- a/md-sha256.c +++ b/md-sha256.c @@ -1,3 +1,4 @@ +/* $OpenBSD: md-sha256.c,v 1.5 2006/08/03 03:34:42 deraadt Exp $ */ /* * Copyright (c) 2005 Damien Miller * @@ -18,7 +19,10 @@ #include "includes.h" -#ifndef HAVE_EVP_SHA256 +#include +#include + +#if !defined(HAVE_EVP_SHA256) && (OPENSSL_VERSION_NUMBER >= 0x00907000L) #include #include @@ -30,8 +34,6 @@ # endif #endif -RCSID("$OpenBSD: md-sha256.c,v 1.1 2006/03/07 09:07:40 djm Exp $"); - const EVP_MD *evp_ssh_sha256(void); static int @@ -80,5 +82,5 @@ evp_ssh_sha256(void) return (&ssh_sha256); } -#endif /* HAVE_EVP_SHA256 */ +#endif /* !defined(HAVE_EVP_SHA256) && (OPENSSL_VERSION_NUMBER >= 0x00907000L) */