summaryrefslogtreecommitdiffstats
path: root/crypto/async/arch/async_null.h
diff options
context:
space:
mode:
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>2022-03-01 21:10:47 +0100
committerMatt Caswell <matt@openssl.org>2022-03-10 14:54:07 +0100
commit43ed2429566f27a2fb030316201c0c7af5a2b966 (patch)
treef3c3e8003a269b9a1a9d229b0bf4a80575f234dc /crypto/async/arch/async_null.h
parentasync_posix: Allow custom stack allocation functions to be specified for POSI... (diff)
downloadopenssl-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.h2
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