FIPS mode changes to make RNG compile (this will need updating later as we
need a whole new PRNG for FIPS). 1. avoid use of ERR_peek(). 2. If compiling with FIPS use small FIPS EVP and disable ENGINE
This commit is contained in:
@@ -60,6 +60,12 @@
|
||||
#include <time.h>
|
||||
#include "cryptlib.h"
|
||||
#include <openssl/rand.h>
|
||||
|
||||
#ifdef OPENSSL_FIPSCANISTER
|
||||
#define OPENSSL_NO_ENGINE
|
||||
#include <openssl/fips.h>
|
||||
#endif
|
||||
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user