| 1846 | |
| 1847 | |
| 1848 | static void openssl_lock_function(int mode, int n, const char *file, int line) |
| 1849 | { |
| 1850 | if (n < 0 || n > CRYPTO_num_locks()) |
| 1851 | { |
| 1852 | /* Lock number out of bounds. */ |
| 1853 | sql_print_error("Fatal: OpenSSL interface problem (n = %d)", n); |
| 1854 | abort(); |
| 1855 | } |
| 1856 | openssl_lock(mode, &openssl_stdlocks[n], file, line); |
| 1857 | } |
| 1858 | |
| 1859 | |
| 1860 | static void openssl_lock(int mode, openssl_lock_t *lock, const char *file, |
nothing calls this directly
no test coverage detected