wrap optional headers with OPENSSL_NO_ macro

This commit is contained in:
Zhi Guan
2017-12-26 22:51:47 +08:00
parent 58751e510e
commit a9b31e17a5
37 changed files with 202 additions and 67 deletions

View File

@@ -22,7 +22,9 @@
#include <openssl/opensslconf.h>
#include <openssl/crypto.h>
#include <openssl/rand.h>
#include <openssl/async.h>
#ifndef OPENSSL_NO_ASYNC
# include <openssl/async.h>
#endif
#include "rand_lcl.h"
#include <openssl/err.h>

View File

@@ -13,7 +13,9 @@
#include <openssl/opensslconf.h>
#include "internal/rand.h"
#include <openssl/engine.h>
#ifndef OPENSSL_NO_ENGINE
# include <openssl/engine.h>
#endif
#ifdef OPENSSL_FIPS
# include <openssl/fips.h>