pub unsafe extern "C" fn s2n_config_set_check_stapled_ocsp_response(
config: *mut s2n_config,
check_ocsp: u8
) -> c_int
Expand description
Toggles whether or not to validate stapled OCSP responses.
1 means OCSP responses will be validated when they are encountered, while 0 means this step will be skipped.
The default value is 1 if the underlying libCrypto implementation supports OCSP.
@param config The configuration object being updated @param check_ocsp The desired OCSP response check configuration @returns S2N_SUCCESS on success. S2N_FAILURE on failure