summaryrefslogtreecommitdiffstats
path: root/crypto/buffer
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 19:10:56 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 19:10:56 +0000
commit7edfe6745670d2f4d53d96f268f2dba11326a51c (patch)
tree781e222d8af65fec366d3af0d132022a62c95435 /crypto/buffer
parentd8ad2e6112d4757eeca8d6dac9cabf9fed330321 (diff)
Move all FIPSAPI renames into fips.h header file, include early in
crypto.h if needed. Modify source tree to handle change.
Diffstat (limited to 'crypto/buffer')
-rw-r--r--crypto/buffer/buf_str.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/buffer/buf_str.c b/crypto/buffer/buf_str.c
index 6d94942df8..11241f8727 100644
--- a/crypto/buffer/buf_str.c
+++ b/crypto/buffer/buf_str.c
@@ -56,15 +56,12 @@
* [including the GNU Public Licence.]
*/
+#define OPENSSL_FIPSAPI
+
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/buffer.h>
-#define OPENSSL_FIPSAPI
-#ifdef OPENSSL_FIPS
-#include <openssl/fips.h>
-#endif
-
char *BUF_strdup(const char *str)
{
if (str == NULL) return(NULL);