Make CRYPTO_num_locks() return 1
[openssl.git] / include / openssl / crypto.h
index 2e056c5bce4f811e5629436c191c1e71e19a011c..e9a8d53f4d1644d2020ee7f8eb64d9a3068e6217 100644 (file)
@@ -215,7 +215,7 @@ void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
  * On the other hand, the locking callbacks are no longer used.  Consequently,
  * the callback management functions can be safely replaced with no-op macros.
  */
-#  define CRYPTO_num_locks()            (0)
+#  define CRYPTO_num_locks()            (1)
 #  define CRYPTO_set_locking_callback(func)
 #  define CRYPTO_get_locking_callback()         (NULL)
 #  define CRYPTO_set_add_lock_callback(func)