Changeset efc43b4 in mod_gnutls for src/gnutls_hooks.c
- Timestamp:
- Sep 25, 2018, 3:46:26 PM (4 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- cb6476c
- Parents:
- 994200a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
r994200a refc43b4 659 659 sc->client_verify_method = mgs_cvm_cartel; 660 660 if (sc->ocsp_staple == GNUTLS_ENABLED_UNSET) 661 // TODO: Check result of mgs_ocsp_configure_stapling() 662 // below instead, staple if possible. 661 663 sc->ocsp_staple = GNUTLS_ENABLED_FALSE; 662 664 … … 665 667 if (sc->enabled && sc->ocsp_staple) 666 668 { 667 rv = mgs_ocsp_post_config_server(pconf, ptemp, s); 669 const char *err = mgs_ocsp_configure_stapling(pconf, ptemp, s); 670 if (err != NULL) 671 { 672 ap_log_error(APLOG_MARK, APLOG_STARTUP, APR_EINVAL, s, 673 "OCSP stapling configuration failed for " 674 "host '%s:%d': %s", 675 s->server_hostname, s->addrs->host_port, err); 676 return HTTP_INTERNAL_SERVER_ERROR; 677 } 678 rv = mgs_ocsp_enable_stapling(pconf, ptemp, s); 668 679 if (rv != OK && rv != DECLINED) 669 680 return rv;
Note: See TracChangeset
for help on using the changeset viewer.