Skip to content

Commit

Permalink
removed MY_MUTEX_INIT_FAST due to build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Jan 12, 2017
1 parent 8232550 commit 097cd84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmariadb/secure/openssl.c
Expand Up @@ -285,7 +285,7 @@ int ma_tls_start(char *errmsg __attribute__((unused)), size_t errmsg_len __attri
return 0;

/* lock mutex to prevent multiple initialization */
pthread_mutex_init(&LOCK_openssl_config,MY_MUTEX_INIT_FAST);
pthread_mutex_init(&LOCK_openssl_config, NULL);
pthread_mutex_lock(&LOCK_openssl_config);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
if (!OPENSSL_init_ssl(OPENSSL_INIT_LOAD_CONFIG, NULL))
Expand Down

0 comments on commit 097cd84

Please sign in to comment.