Commit d3446728 authored by Richard Levitte's avatar Richard Levitte
Browse files

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

depending on FIPS mode.
parent 245dac4d
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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,