mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
crypto/threads_win.c: fix preprocessor indentation
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9832)
This commit is contained in:
parent
0768b38b80
commit
7f0a8dc7f9
@ -24,15 +24,15 @@ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(_WIN32_WCE)
|
# if !defined(_WIN32_WCE)
|
||||||
/* 0x400 is the spin count value suggested in the documentation */
|
/* 0x400 is the spin count value suggested in the documentation */
|
||||||
if (!InitializeCriticalSectionAndSpinCount(lock, 0x400)) {
|
if (!InitializeCriticalSectionAndSpinCount(lock, 0x400)) {
|
||||||
OPENSSL_free(lock);
|
OPENSSL_free(lock);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#else
|
# else
|
||||||
InitializeCriticalSection(lock);
|
InitializeCriticalSection(lock);
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
return lock;
|
return lock;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user