diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-06-01 13:39:45 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-06-01 13:39:45 +0000 |
commit | 65300dcfb04bae643ea7b8f42ff8c8f1b1210a9e (patch) | |
tree | b3cebcf5d9b7c05745dcd26cc13de2805098c224 /crypto/md5/md5.h | |
parent | 9ddc574f9aed0fbf5b19c50a495de608550174c7 (diff) |
Prohibit use of low level digest APIs in FIPS mode.
Diffstat (limited to 'crypto/md5/md5.h')
-rw-r--r-- | crypto/md5/md5.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/md5/md5.h b/crypto/md5/md5.h index 4cbf84386b..541cc925fe 100644 --- a/crypto/md5/md5.h +++ b/crypto/md5/md5.h @@ -105,6 +105,9 @@ typedef struct MD5state_st unsigned int num; } MD5_CTX; +#ifdef OPENSSL_FIPS +int private_MD5_Init(MD5_CTX *c); +#endif int MD5_Init(MD5_CTX *c); int MD5_Update(MD5_CTX *c, const void *data, size_t len); int MD5_Final(unsigned char *md, MD5_CTX *c); |