projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
QUIC: Fix bugs where threading is disabled
[openssl.git]
/
crypto
/
threads_none.c
diff --git
a/crypto/threads_none.c
b/crypto/threads_none.c
index b18587b9f21cc5098f62d1994119b2c12914bfdb..a2f4b1fde0e1ce4b3a32d4d9016fd95517f7139a 100644
(file)
--- a/
crypto/threads_none.c
+++ b/
crypto/threads_none.c
@@
-148,6
+148,13
@@
int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock)
return 1;
}
+int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock)
+{
+ *ret = *val;
+
+ return 1;
+}
+
int openssl_init_fork_handlers(void)
{
return 0;