OpenSSL 1.1.1-pre2
This commit is contained in:
@@ -133,4 +133,21 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock)
|
||||
return 1;
|
||||
}
|
||||
|
||||
int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock)
|
||||
{
|
||||
*ret = InterlockedCompareExchange(val, 0, 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock)
|
||||
{
|
||||
InterlockedExchange(val, n);
|
||||
return 1;
|
||||
}
|
||||
|
||||
int openssl_init_fork_handlers(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user