pub unsafe extern "C" fn s2n_connection_is_ocsp_stapled(
conn: *mut s2n_connection
) -> i32
Expand description
Check if 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.