- 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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user