summaryrefslogtreecommitdiffstats
path: root/crypto/md32_common.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-08-11 09:37:17 +0000
committerRichard Levitte <levitte@openssl.org>2003-08-11 09:37:17 +0000
commit4ed9388e5d6f50cb32c16272c8a16554da1cc8a8 (patch)
tree9f7453ce44182272edd2be8bd62f9d89af09dd66 /crypto/md32_common.h
parent94a1183fabc872c8c89a04f6d256f883e98c8e72 (diff)
A new branch for FIPS-related changes has been created with the name
OpenSSL-fips-0_9_7-stable. Since the 0.9.7-stable branch is supposed to be in freeze and should only contain bug corrections, this change removes the FIPS changes from that branch.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r--crypto/md32_common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index 6d65c52fcd..573850b122 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -128,9 +128,6 @@
* <appro@fy.chalmers.se>
*/
-#include <openssl/fips.h>
-#include <openssl/err.h>
-
#if !defined(DATA_ORDER_IS_BIG_ENDIAN) && !defined(DATA_ORDER_IS_LITTLE_ENDIAN)
#error "DATA_ORDER must be defined!"
#endif
@@ -558,14 +555,6 @@ int HASH_FINAL (unsigned char *md, HASH_CTX *c)
static const unsigned char end[4]={0x80,0x00,0x00,0x00};
const unsigned char *cp=end;
-#ifdef FIPS
- if(FIPS_mode)
- {
- FIPSerr(FIPS_F_HASH_FINAL,FIPS_R_NON_FIPS_METHOD);
- return 0;
- }
-#endif
-
/* c->num should definitly have room for at least one more byte. */
p=c->data;
i=c->num>>2;