Changeset 506e64a in mod_gnutls
- Timestamp:
- Apr 19, 2018, 2:13:09 PM (3 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- a467635
- Parents:
- 0e3f8c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_ocsp.c
r0e3f8c6 r506e64a 594 594 595 595 596 apr_status_t mgs_cache_ocsp_response(server_rec *s) 596 /** 597 * Get a fresh OCSP response and put it into the cache. 598 * 599 * @param s server that needs a new response 600 * 601 * @param cache_expiry If not `NULL`, this `apr_time_t` will be set to 602 * the expiration time of the cache entry. Remains unchanged on 603 * failure. 604 * 605 * @return APR_SUCCESS or an APR error code 606 */ 607 static apr_status_t mgs_cache_ocsp_response(server_rec *s, 608 apr_time_t *cache_expiry) 597 609 { 598 610 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) … … 700 712 return APR_EGENERAL; 701 713 } 714 715 if (cache_expiry != NULL) 716 *cache_expiry = expiry; 702 717 return APR_SUCCESS; 703 718 } … … 801 816 } 802 817 803 rv = mgs_cache_ocsp_response(ctxt->c->base_server );818 rv = mgs_cache_ocsp_response(ctxt->c->base_server, NULL); 804 819 if (rv != APR_SUCCESS) 805 820 {
Note: See TracChangeset
for help on using the changeset viewer.