| 1175 | } |
| 1176 | |
| 1177 | static APR_INLINE |
| 1178 | int modssl_X509_STORE_load_locations(X509_STORE *store, |
| 1179 | const char *file, |
| 1180 | const char *path) |
| 1181 | { |
| 1182 | #if OPENSSL_VERSION_NUMBER < 0x30000000L |
| 1183 | if (!X509_STORE_load_locations(store, file, path)) |
| 1184 | return 0; |
| 1185 | #else |
| 1186 | if (file && !X509_STORE_load_file(store, file)) |
| 1187 | return 0; |
| 1188 | if (path && !X509_STORE_load_path(store, path)) |
| 1189 | return 0; |
| 1190 | #endif |
| 1191 | return 1; |
| 1192 | } |
| 1193 | |
| 1194 | static apr_status_t ssl_init_ctx_crl(server_rec *s, |
| 1195 | apr_pool_t *p, |
no outgoing calls
no test coverage detected