Move all FIPSAPI renames into fips.h header file, include early in

crypto.h if needed.

Modify source tree to handle change.
This commit is contained in:
Dr. Stephen Henson
2011-01-27 19:10:56 +00:00
parent d8ad2e6112
commit 7edfe67456
21 changed files with 67 additions and 112 deletions

View File

@@ -58,16 +58,13 @@
/* Original version from Steven Schoch <schoch@sheba.arc.nasa.gov> */
#define OPENSSL_FIPSAPI
#include "cryptlib.h"
#include <openssl/dsa.h>
#include <openssl/rand.h>
#include <openssl/bn.h>
#define OPENSSL_FIPSAPI
#ifdef OPENSSL_FIPS
#include <openssl/fips.h>
#endif
DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
{
return dsa->meth->dsa_do_sign(dgst, dlen, dsa);