summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_mont.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 15:57:31 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 15:57:31 +0000
commitaa87945f47ea8fcfc327372b143d334cd5850cb0 (patch)
tree22755248f0f7db491166b10d24e88e6c426b1913 /crypto/bn/bn_mont.c
parent7c8ced94c32131f24d469d2899f3339f77c47aa1 (diff)
Update source files to handle new FIPS_lock() location. Add FIPS_lock()
definition. Remove stale function references from fips.h
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r--crypto/bn/bn_mont.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c
index 2f7fb843a9..ba659cfd1d 100644
--- a/crypto/bn/bn_mont.c
+++ b/crypto/bn/bn_mont.c
@@ -122,6 +122,10 @@
#include "cryptlib.h"
#include "bn_lcl.h"
+#ifdef OPENSSL_FIPS
+#include <openssl/fips.h>
+#endif
+
#define MONT_WORD /* use the faster word-based algorithm */
#ifdef MONT_WORD