summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/m_sha.c
diff options
context:
space:
mode:
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