summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/evp/m_sha.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/evp/m_sha.c')
-rw-r--r--lib/libssl/src/crypto/evp/m_sha.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libssl/src/crypto/evp/m_sha.c b/lib/libssl/src/crypto/evp/m_sha.c
index d1785e5f745..ed54909b162 100644
--- a/lib/libssl/src/crypto/evp/m_sha.c
+++ b/lib/libssl/src/crypto/evp/m_sha.c
@@ -59,6 +59,9 @@
#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0)
#include <stdio.h>
#include "cryptlib.h"
+/* Including sha.h prior evp.h masks FIPS SHA declarations, but that's
+ * exactly what we want to achieve here... */
+#include <openssl/sha.h>
#include <openssl/evp.h>
#include "evp_locl.h"
#include <openssl/objects.h>