summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xConfigure2
-rw-r--r--include/openssl/async.h11
2 files changed, 3 insertions, 10 deletions
diff --git a/Configure b/Configure
index 82086ed5a6..04ed030d65 100755
--- a/Configure
+++ b/Configure
@@ -800,7 +800,7 @@ foreach (sort (keys %disabled))
my ($ALGO, $algo);
($ALGO = $algo = $_) =~ tr/[\-a-z]/[_A-Z]/;
- if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/
+ if (/^asm$/ || /^err$/ || /^hw$/ || /^hw-/ || /^async$/
|| /^autoalginit/ || /^autoerrinit/)
{
push @{$config{openssl_other_defines}}, "OPENSSL_NO_$ALGO";
diff --git a/include/openssl/async.h b/include/openssl/async.h
index 99d8075215..5223aadf37 100644
--- a/include/openssl/async.h
+++ b/include/openssl/async.h
@@ -50,17 +50,11 @@
* ====================================================================
*/
+#include <stdlib.h>
+
#ifndef HEADER_ASYNC_H
# define HEADER_ASYNC_H
-#include <openssl/opensslconf.h>
-
-#ifdef OPENSSL_NO_ASYNC
-#define ASYNC_block_pause() do { ; } while(0)
-#define ASYNC_unblock_pause() do { ; } while(0)
-#else
-#include <stdlib.h>
-
#if defined(_WIN32)
#include <windows.h>
#define OSSL_ASYNC_FD HANDLE
@@ -122,5 +116,4 @@ void ERR_load_ASYNC_strings(void);
#ifdef __cplusplus
}
#endif
-#endif /* OPENSSL_NO_ASYNC */
#endif