Move the FIPS check so make depend doesn't give different results

depending on FIPS mode.
This commit is contained in:
Richard Levitte 2003-09-09 16:38:16 +00:00
parent 245dac4d17
commit d3446728f9

View File

@ -69,20 +69,23 @@
#define HASH EVP_sha1()
#endif
#ifndef OPENSSL_NO_SHA
#ifdef FIPS
#include <stdio.h>
#include <string.h>
#include <time.h>
/*#include "cryptlib.h"*/
#include <openssl/evp.h>
#include <openssl/bn.h>
#ifndef OPENSSL_NO_SHA
#include <openssl/dsa.h>
#endif
#ifndef OPENSSL_NO_RAND
#include <openssl/rand.h>
#endif
#ifndef OPENSSL_NO_SHA
#include <openssl/sha.h>
#ifdef FIPS
DSA *DSA_generate_parameters(int bits,
unsigned char *seed_in, int seed_len,
int *counter_ret, unsigned long *h_ret,