summaryrefslogtreecommitdiffstats
path: root/crypto/threads_win.c
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-11 10:40:18 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-11 11:22:18 +0200
commit7f0a8dc7f9c5c35af0f66aca553304737931d55f (patch)
tree1eb336879b12b085ae3616ff05a7d23aa8573abc /crypto/threads_win.c
parentdrbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt) (diff)
downloadopenssl-7f0a8dc7f9c5c35af0f66aca553304737931d55f.tar.xz
openssl-7f0a8dc7f9c5c35af0f66aca553304737931d55f.zip
crypto/threads_win.c: fix preprocessor indentation
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9832)
Diffstat (limited to 'crypto/threads_win.c')
-rw-r--r--crypto/threads_win.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 933fdae562..43bd0f51d9 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -24,15 +24,15 @@ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void)
return NULL;
}
-#if !defined(_WIN32_WCE)
+# if !defined(_WIN32_WCE)
/* 0x400 is the spin count value suggested in the documentation */
if (!InitializeCriticalSectionAndSpinCount(lock, 0x400)) {
OPENSSL_free(lock);
return NULL;
}
-#else
+# else
InitializeCriticalSection(lock);
-#endif
+# endif
return lock;
}