diff options
author | Arran Cudbard-Bell <a.cudbardb@freeradius.org> | 2022-03-01 21:10:47 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-03-10 14:54:07 +0100 |
commit | 43ed2429566f27a2fb030316201c0c7af5a2b966 (patch) | |
tree | f3c3e8003a269b9a1a9d229b0bf4a80575f234dc /crypto/async/arch/async_null.h | |
parent | async_posix: Allow custom stack allocation functions to be specified for POSI... (diff) | |
download | openssl-43ed2429566f27a2fb030316201c0c7af5a2b966.tar.xz openssl-43ed2429566f27a2fb030316201c0c7af5a2b966.zip |
async_posix: Make ASYNC_set_mem_functions threadsafe
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17762)
Diffstat (limited to 'crypto/async/arch/async_null.h')
-rw-r--r-- | crypto/async/arch/async_null.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/async/arch/async_null.h b/crypto/async/arch/async_null.h index c62aba69a8..2b83932ebc 100644 --- a/crypto/async/arch/async_null.h +++ b/crypto/async/arch/async_null.h @@ -26,5 +26,7 @@ typedef struct async_fibre_st { # define async_fibre_makecontext(c) 0 # define async_fibre_free(f) # define async_fibre_init_dispatcher(f) +# define async_local_init() 1 +# define async_local_deinit() #endif |