Add bindings for SSL_CB_ACCEPT_EXIT and SSL_CB_CONNECT_EXIT

This commit is contained in:
Evan Rittenhouse 2024-11-20 09:58:40 -06:00 committed by Rushil Mehra
parent 7bb3647406
commit c113ec5a0d
1 changed files with 6 additions and 0 deletions

View File

@ -850,6 +850,12 @@ impl SslInfoCallbackMode {
/// Signaled when a handshake progresses to a new state.
pub const ACCEPT_LOOP: Self = Self(ffi::SSL_CB_ACCEPT_LOOP);
/// Signaled when the current iteration of the server-side handshake state machine completes.
pub const ACCEPT_EXIT: Self = Self(ffi::SSL_CB_ACCEPT_EXIT);
/// Signaled when the current iteration of the client-side handshake state machine completes.
pub const CONNECT_EXIT: Self = Self(ffi::SSL_CB_CONNECT_EXIT);
}
/// The `value` argument to an info callback. The most-significant byte is the alert level, while