summaryrefslogtreecommitdiffstats
path: root/fips/rsa
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 15:22:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 15:22:26 +0000
commit7c8ced94c32131f24d469d2899f3339f77c47aa1 (patch)
tree7dad16d42ed83f3d03917fc25d46fefa4647a2cc /fips/rsa
parentd5df1b3f0db030c2202cbcc7c0ca9921d3db2ce0 (diff)
Change OPENSSL_FIPSEVP to OPENSSL_FIPSAPI as it doesn't just refer
to EVP any more. Move locking #define into fips.h. Set FIPS locking callbacks at same time as OpenSSL locking callbacks.
Diffstat (limited to 'fips/rsa')
-rw-r--r--fips/rsa/fips_rsa_sign.c2
-rw-r--r--fips/rsa/fips_rsagtest.c2
-rw-r--r--fips/rsa/fips_rsastest.c2
-rw-r--r--fips/rsa/fips_rsavtest.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/fips/rsa/fips_rsa_sign.c b/fips/rsa/fips_rsa_sign.c
index a7f73f5121..d07111b4be 100644
--- a/fips/rsa/fips_rsa_sign.c
+++ b/fips/rsa/fips_rsa_sign.c
@@ -56,7 +56,7 @@
*
*/
-#define OPENSSL_FIPSEVP
+#define OPENSSL_FIPSAPI
#include <string.h>
#include <openssl/evp.h>
diff --git a/fips/rsa/fips_rsagtest.c b/fips/rsa/fips_rsagtest.c
index 1b79ffa70f..95960ef007 100644
--- a/fips/rsa/fips_rsagtest.c
+++ b/fips/rsa/fips_rsagtest.c
@@ -56,7 +56,7 @@
*
*/
-#define OPENSSL_FIPSEVP
+#define OPENSSL_FIPSAPI
#include <stdio.h>
#include <ctype.h>
diff --git a/fips/rsa/fips_rsastest.c b/fips/rsa/fips_rsastest.c
index 2a125ae02d..9dff464a36 100644
--- a/fips/rsa/fips_rsastest.c
+++ b/fips/rsa/fips_rsastest.c
@@ -56,7 +56,7 @@
*
*/
-#define OPENSSL_FIPSEVP
+#define OPENSSL_FIPSAPI
#include <stdio.h>
#include <ctype.h>
diff --git a/fips/rsa/fips_rsavtest.c b/fips/rsa/fips_rsavtest.c
index 0421807623..0971f15fc0 100644
--- a/fips/rsa/fips_rsavtest.c
+++ b/fips/rsa/fips_rsavtest.c
@@ -56,7 +56,7 @@
*
*/
-#define OPENSSL_FIPSEVP
+#define OPENSSL_FIPSAPI
#include <stdio.h>
#include <ctype.h>