summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_oaep.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 17:23:43 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 17:23:43 +0000
commit7cc684f4f7fbcdc5cf4683eaf025d4f915acbf3c (patch)
tree239b582a272e88cb8a3a8e9fad8806380128a2ed /crypto/rsa/rsa_oaep.c
parente36d6b8f7985739a493da0932bd08c9787c84dfc (diff)
Redirect FIPS memory allocation to FIPS_malloc() routine, remove
OpenSSL malloc dependencies.
Diffstat (limited to 'crypto/rsa/rsa_oaep.c')
-rw-r--r--crypto/rsa/rsa_oaep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c
index eaae712236..48cd89dd48 100644
--- a/crypto/rsa/rsa_oaep.c
+++ b/crypto/rsa/rsa_oaep.c
@@ -30,6 +30,10 @@
#include <openssl/rand.h>
#include <openssl/sha.h>
+#ifdef OPENSSL_FIPS
+#include <openssl/fips.h>
+#endif
+
static int MGF1(unsigned char *mask, long len,
const unsigned char *seed, long seedlen);