[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Thu Mar 10 01:42:50 UTC 2016
The branch master has been updated
via 642565106e7764cecf96cf865bd6c52afaa68f22 (commit)
from dd60efea955e41a6f0926f93ec1503c6f83c4e58 (commit)
- Log -----------------------------------------------------------------
commit 642565106e7764cecf96cf865bd6c52afaa68f22
Author: Mat <mberchtold at gmail.com>
Date: Thu Mar 10 02:29:02 2016 +0100
Fix return type for CRYPTO_THREAD_run_once
return type should be int and not void
Signed-off-by: Rich Salz <rsalz at akamai.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/threads_win.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 741e8f8..5a14872 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -133,7 +133,7 @@ BOOL CALLBACK once_cb(PINIT_ONCE once, PVOID p, PVOID *pp)
return TRUE;
}
-void CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
+int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
{
if (InitOnceExecuteOnce(once, once_cb, init, NULL))
return 0;
More information about the openssl-commits
mailing list