diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-05 23:58:01 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-11-21 00:34:35 +0100 |
commit | 7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0 (patch) | |
tree | 9c5508026833bec2f49e0f9aa87e0a7f6b34467c /test/asynctest.c | |
parent | Add ASYNC tests (diff) | |
download | openssl-7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0.tar.xz openssl-7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0.zip |
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.c | 3 |
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) { |