| 4607 | |
| 4608 | |
| 4609 | static void openssl_lock_function(int mode, int n, const char *file, int line) |
| 4610 | { |
| 4611 | if (n < 0 || n > CRYPTO_num_locks()) |
| 4612 | { |
| 4613 | /* Lock number out of bounds. */ |
| 4614 | sql_print_error("Fatal: OpenSSL interface problem (n = %d)", n); |
| 4615 | abort(); |
| 4616 | } |
| 4617 | openssl_lock(mode, &openssl_stdlocks[n], file, line); |
| 4618 | } |
| 4619 | |
| 4620 | |
| 4621 | static void openssl_lock(int mode, openssl_lock_t *lock, const char *file, |
nothing calls this directly
no test coverage detected