| 687 | } |
| 688 | |
| 689 | static int stapling_mutex_off(server_rec *s, apr_global_mutex_t *mutex, |
| 690 | const char *name) |
| 691 | { |
| 692 | apr_status_t rv; |
| 693 | |
| 694 | if ((rv = apr_global_mutex_unlock(mutex)) != APR_SUCCESS) { |
| 695 | ap_log_error(APLOG_MARK, APLOG_WARNING, rv, s, APLOGNO(01949) |
| 696 | "Failed to release OCSP %s lock", name); |
| 697 | return FALSE; |
| 698 | } |
| 699 | return TRUE; |
| 700 | } |
| 701 | |
| 702 | static int stapling_cache_mutex_on(server_rec *s) |
| 703 | { |
no test coverage detected