summaryrefslogtreecommitdiff
path: root/test/asynctest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-10-05 22:58:01 +0100
committerMatt Caswell <matt@openssl.org>2015-11-20 23:34:35 +0000
commit7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0 (patch)
tree9c5508026833bec2f49e0f9aa87e0a7f6b34467c /test/asynctest.c
parent5705e05037938623f701092ec84dae90d191091c (diff)
downloadopenssl-new-7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0.tar.gz
Fix ASYNC null implementation
The ASYNC null implementation has not kept pace with the rest of the async development and so was failing to compile. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/asynctest.c')
-rw-r--r--test/asynctest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/asynctest.c b/test/asynctest.c
index a0e2e1d11e..9ce23fbec2 100644
--- a/test/asynctest.c
+++ b/test/asynctest.c
@@ -75,6 +75,8 @@
# define ASYNC_NULL
#endif
+#ifndef ASYNC_NULL
+
static int ctr = 0;
static ASYNC_JOB *currjob = NULL;
@@ -233,6 +235,7 @@ static int test_ASYNC_get_wait_fd()
ASYNC_free_pool();
return 1;
}
+#endif
int main(int argc, char **argv)
{