summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r--crypto/x509/x509.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 4951bad8cc..50da59ce3c 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -84,7 +84,9 @@
#ifndef OPENSSL_NO_DH
#include <openssl/dh.h>
#endif
-
+#ifndef OPENSSL_NO_SHA
+#include <openssl/sha.h>
+#endif
#include <openssl/evp.h>
#include <openssl/e_os2.h>