Add option to disable async
Add no-async option to Configure that forces ASYNC_NULL. Related to RT1979 An embedded system or replacement C library (e.g. musl or uClibc) may not support the *context APIs that are needed for async operation. Compiles with musl. Ran unit tests, async tests skipped as expected. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
* This is the same detection used in cryptlib to set up the thread local
|
||||
* storage that we depend on, so just copy that
|
||||
*/
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32) && !defined(OPENSSL_NO_ASYNC)
|
||||
#include <openssl/async.h>
|
||||
# define ASYNC_WIN
|
||||
# define ASYNC_ARCH
|
||||
|
||||
Reference in New Issue
Block a user