openssl/crypto/async
Matt Caswell 6c689e58f7 Make the ASYNC code default libctx aware
Since the default libctx is now stored in a thread local variable
swapping in and out of fibres in the ASYNC code could mean that the
"current" default libctx can get confused. Therefore we ensure that
everytime we call async_fibre_swapcontext() we always restore the default
libctx to whatever it was the last time the fibre ran. Similarly when
async_fibre_swapcontext() returns we need to restore the current thread's
default libctx.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12228)
2020-06-28 10:55:52 +02:00
..
arch Update copyright year 2020-04-23 13:55:52 +01:00
async_err.c util/mkerr.pl: make it not depend on the function code 2019-09-12 17:59:52 +02:00
async_local.h Make the ASYNC code default libctx aware 2020-06-28 10:55:52 +02:00
async_wait.c Reorganize local header files 2019-09-28 20:26:35 +02:00
async.c Make the ASYNC code default libctx aware 2020-06-28 10:55:52 +02:00
build.info