Skip to content
Snippets Groups Projects
Commit e7cc73d6 authored by deuce's avatar deuce
Browse files

Return a value from do_cryptInit().

parent 0a86aafa
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,9 @@ static void internal_do_cryptInit(void)
int DLLCALL do_cryptInit(void)
{
pthread_once(&crypt_init_once, internal_do_cryptInit);
if(pthread_once(&crypt_init_once, internal_do_cryptInit) == 0)
return 1;
return 0;
}
#define DO(x) get_error_string(x, ssl_context, estr, __FILE__, __LINE__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment