Fix return type for CRYPTO_THREAD_run_once
return type should be int and not void Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
dd60efea95
commit
642565106e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue