projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use swapcontext for Intel CET
[openssl.git]
/
crypto
/
async
/
arch
/
async_posix.c
diff --git
a/crypto/async/arch/async_posix.c
b/crypto/async/arch/async_posix.c
index 7476970e6ba86fe935b8243ad75f8f7e3c23fe46..3432320bcfe7c956904cbee64a5f1b0d9f4dc94f 100644
(file)
--- a/
crypto/async/arch/async_posix.c
+++ b/
crypto/async/arch/async_posix.c
@@
-34,7
+34,9
@@
void async_local_cleanup(void)
int async_fibre_makecontext(async_fibre *fibre)
{
+#ifndef USE_SWAPCONTEXT
fibre->env_init = 0;
+#endif
if (getcontext(&fibre->fibre) == 0) {
fibre->fibre.uc_stack.ss_sp = OPENSSL_malloc(STACKSIZE);
if (fibre->fibre.uc_stack.ss_sp != NULL) {