Changeset fa6d0bb in mod_gnutls
- Timestamp:
- Apr 20, 2018, 4:14:00 PM (5 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 2246a84
- Parents:
- f233a23
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rf233a23 rfa6d0bb 675 675 } 676 676 677 if (sc->ocsp_staple == GNUTLS_ENABLED_UNSET)678 sc->ocsp_staple = GNUTLS_ENABLED_FALSE;679 680 sc->ocsp_mutex = sc_base->ocsp_mutex;681 /* init OCSP configuration if OCSP is enabled for this host */682 if (sc->ocsp_staple)683 {684 rv = mgs_ocsp_post_config_server(pconf, ptemp, s);685 if (rv != OK && rv != DECLINED)686 return rv;687 }688 689 677 /* defaults for unset values: */ 690 678 if (sc->enabled == GNUTLS_ENABLED_UNSET) … … 698 686 if (sc->client_verify_method == mgs_cvm_unset) 699 687 sc->client_verify_method = mgs_cvm_cartel; 688 if (sc->ocsp_staple == GNUTLS_ENABLED_UNSET) 689 sc->ocsp_staple = GNUTLS_ENABLED_FALSE; 690 691 sc->ocsp_mutex = sc_base->ocsp_mutex; 692 /* init OCSP configuration if OCSP is enabled for this host */ 693 if (sc->enabled && sc->ocsp_staple) 694 { 695 rv = mgs_ocsp_post_config_server(pconf, ptemp, s); 696 if (rv != OK && rv != DECLINED) 697 return rv; 698 } 700 699 701 700 /* Check if the priorities have been set */
Note: See TracChangeset
for help on using the changeset viewer.