X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fthreads_win.c;h=63647a39a673dc37e3ab0bd513b82d4cb6331934;hp=5a14872d1ca784c74ca7aa8e805e99356af7e98e;hb=e6c5dbc8e82214f659d5b905d7b4a04a8d1faa8d;hpb=642565106e7764cecf96cf865bd6c52afaa68f22 diff --git a/crypto/threads_win.c b/crypto/threads_win.c index 5a14872d1c..63647a39a6 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -136,9 +136,9 @@ BOOL CALLBACK once_cb(PINIT_ONCE once, PVOID p, PVOID *pp) int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)) { if (InitOnceExecuteOnce(once, once_cb, init, NULL)) - return 0; + return 1; - return 1; + return 0; } # endif