diff --git a/crypto/threads_win.c b/crypto/threads_win.c index 5a14872d1ca784c74ca7aa8e805e99356af7e98e..63647a39a673dc37e3ab0bd513b82d4cb6331934 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