Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-08-11 14:24:52 +0400
committerRichard Levitte <levitte@openssl.org>2003-08-11 14:24:52 +0400
commitec47bb7c817207b5904e8cfd01cb91aba119dd4e (patch)
treed28ab8cefc1e2c9835d7228bf81a0f8e5b7635af /crypto
parentbf50d5b4ac6164e1bdca3ce0190cf65cfbdffa68 (diff)
- Add a configuration keyword "fips" to compile with FIPS
implementations. - Reorder the build so the standalone FIPS SHA1 checker is built first. - Add necessary defines to avoid symbol clashes between FIPS and non-FIPS implementations. - Change necessary signatures. - Correct bugs in FIPS build Makefiles. - make update
Diffstat (limited to 'crypto')
-rw-r--r--crypto/sha/sha1dgst.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c
index 182f65982a..3e5d1e9e7b 100644
--- a/crypto/sha/sha1dgst.c
+++ b/crypto/sha/sha1dgst.c
@@ -63,11 +63,18 @@
#include <openssl/opensslv.h>
+#ifndef FIPS
const char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
/* The implementation is in ../md32_common.h */
#include "sha_locl.h"
+#else /* ndef FIPS */
+
+static void *dummy=&dummy;
+
+#endif /* ndef FIPS */
+
#endif