Function s2n_tls_sys::s2n_connection_is_ocsp_stapled
source · pub unsafe extern "C" fn s2n_connection_is_ocsp_stapled(
conn: *mut s2n_connection
) -> c_int
Expand description
Check is the connection is OCSP stapled.
@param conn A pointer to the s2n_connection object
@returns 1 if OCSP response was sent (if connection is in S2N_SERVER mode) or received (if connection is in S2N_CLIENT mode) during handshake, otherwise it returns 0.