| 46 | static MUTEX_TYPE *mutex_buf = nullptr; |
| 47 | |
| 48 | static void locking_function(int mode, int n, const char *file, int line) |
| 49 | { |
| 50 | (void)file; /* unused, avoid warnings */ |
| 51 | (void)line; /* unused, avoid warnings */ |
| 52 | |
| 53 | if (mode & CRYPTO_LOCK) |
| 54 | MUTEX_LOCK(mutex_buf[n]); |
| 55 | else |
| 56 | MUTEX_UNLOCK(mutex_buf[n]); |
| 57 | } |
| 58 | |
| 59 | #ifndef WIN32 |
| 60 | static unsigned long id_function() |
nothing calls this directly
no outgoing calls
no test coverage detected