Function bearssl::br_ssl_engine_close [] [src]

pub unsafe extern "C" fn br_ssl_engine_close(cc: *mut br_ssl_engine_context)

\brief Initiate a closure.

If, at that point, the context is open and in ready state, then a close_notify alert is assembled and marked for sending; this triggers the closure protocol. Otherwise, no such alert is assembled.

\param cc SSL engine context.