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

@@ -7,7 +7,11 @@
* https://www.openssl.org/source/license.html
*/
//FIXME:
#ifndef OPENSSL_NO_ASYNC
#include <openssl/async.h>
#endif
int async_init(void);
void async_deinit(void);

View File

@@ -7,7 +7,9 @@
* https://www.openssl.org/source/license.html
*/
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
void engine_load_openssl_int(void);
void engine_load_cryptodev_int(void);