summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_sha.c
diff options
context:
space:
mode:
authorbeck <>1999-09-29 04:37:45 +0000
committerbeck <>1999-09-29 04:37:45 +0000
commitde8f24ea083384bb66b32ec105dc4743c5663cdf (patch)
tree1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/evp/m_sha.c
parentcb929d29896bcb87c2a97417fbd03e50078fc178 (diff)
downloadopenbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2
openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/evp/m_sha.c')
-rw-r--r--src/lib/libcrypto/evp/m_sha.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/m_sha.c b/src/lib/libcrypto/evp/m_sha.c
index af4e434a22..6d35b71b85 100644
--- a/src/lib/libcrypto/evp/m_sha.c
+++ b/src/lib/libcrypto/evp/m_sha.c
@@ -56,11 +56,12 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#ifndef NO_SHA
59#include <stdio.h> 60#include <stdio.h>
60#include "cryptlib.h" 61#include "cryptlib.h"
61#include "evp.h" 62#include <openssl/evp.h>
62#include "objects.h" 63#include <openssl/objects.h>
63#include "x509.h" 64#include <openssl/x509.h>
64 65
65static EVP_MD sha_md= 66static EVP_MD sha_md=
66 { 67 {
@@ -75,8 +76,8 @@ static EVP_MD sha_md=
75 sizeof(EVP_MD *)+sizeof(SHA_CTX), 76 sizeof(EVP_MD *)+sizeof(SHA_CTX),
76 }; 77 };
77 78
78EVP_MD *EVP_sha() 79EVP_MD *EVP_sha(void)
79 { 80 {
80 return(&sha_md); 81 return(&sha_md);
81 } 82 }
82 83#endif