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/ripemd/rmd_dgst.c | |
parent | 9ddc574f9aed0fbf5b19c50a495de608550174c7 (diff) |
Prohibit use of low level digest APIs in FIPS mode.
Diffstat (limited to 'crypto/ripemd/rmd_dgst.c')
-rw-r--r-- | crypto/ripemd/rmd_dgst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ripemd/rmd_dgst.c b/crypto/ripemd/rmd_dgst.c index 59b017f8c0..63f0d983f7 100644 --- a/crypto/ripemd/rmd_dgst.c +++ b/crypto/ripemd/rmd_dgst.c @@ -59,6 +59,7 @@ #include <stdio.h> #include "rmd_locl.h" #include <openssl/opensslv.h> +#include <openssl/crypto.h> const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; @@ -69,7 +70,7 @@ const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT; void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num); # endif -int RIPEMD160_Init(RIPEMD160_CTX *c) +fips_md_init(RIPEMD160) { memset (c,0,sizeof(*c)); c->A=RIPEMD160_A; |