]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/bind.c
Code clean-up.
[openldap] / servers / slapd / back-ldbm / bind.c
index 6b8a972a28a1c2c3fc6dcf02447ef2f5a3891417..ac461e7668f04296c1d3a498d063864ba0eae960 100644 (file)
@@ -34,7 +34,7 @@ crypted_value_find(
                        int result;
 
 #ifdef SLAPD_CRYPT
-                       pthread_mutex_lock( &crypt_mutex );
+                       ldap_pvt_thread_mutex_lock( &crypt_mutex );
 #endif
 
                        result = lutil_passwd(
@@ -42,7 +42,7 @@ crypted_value_find(
                                (char*) vals[i]->bv_val);
 
 #ifdef SLAPD_CRYPT
-                       pthread_mutex_unlock( &crypt_mutex );
+                       ldap_pvt_thread_mutex_unlock( &crypt_mutex );
 #endif
 
                        return result;