summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-05-17 15:49:13 +0000
committerAndy Polyakov <appro@openssl.org>2004-05-17 15:49:13 +0000
commit1ab61a91791e8ddbf95891b44f4cdd50503bc534 (patch)
treef1cf09c60c6f1b9d728f05f801fdf21c9de439eb /crypto/sha
parentd6dda126b7921c1067cdc49845e4656c53a5c96b (diff)
Make reservations for FIPS code in HEAD branch, so that the moment FIPS
comes in we have required macros in place.
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h
index aa4c9dd5d7..35c89375a2 100644
--- a/crypto/sha/sha.h
+++ b/crypto/sha/sha.h
@@ -69,6 +69,10 @@ extern "C" {
#error SHA is disabled.
#endif
+#if defined(OPENSSL_FIPS)
+#define FIPS_SHA_SIZE_T size_t
+#endif
+
/*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* ! SHA_LONG has to be at least 32 bits wide. If it's wider, then !