diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-05 22:58:01 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-11-20 23:34:35 +0000 |
commit | 7240557b7d6a06cd7e4cd50e52fb1e62d0a750e0 (patch) | |
tree | 9c5508026833bec2f49e0f9aa87e0a7f6b34467c /crypto/async/arch/async_null.h | |
parent | 5705e05037938623f701092ec84dae90d191091c (diff) |
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 'crypto/async/arch/async_null.h')
-rw-r--r-- | crypto/async/arch/async_null.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/async/arch/async_null.h b/crypto/async/arch/async_null.h index 7d1c601db2..2dc4f2b42f 100644 --- a/crypto/async/arch/async_null.h +++ b/crypto/async/arch/async_null.h @@ -73,4 +73,8 @@ typedef struct async_fibre_st { # define ASYNC_FIBRE_makecontext(c) # define ASYNC_FIBRE_free(f) # define ASYNC_FIBRE_init_dispatcher(f) +# define async_pipe(f) 0 +# define async_write1(f,b) ((*b == 0) ? (f = 0) : (f = 1)) +# define async_read1(f,b) (*b = 0) + #endif |