Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify the alert emission API #5

Open
pvdrz opened this issue Nov 2, 2023 · 0 comments
Open

Unify the alert emission API #5

pvdrz opened this issue Nov 2, 2023 · 0 comments

Comments

@pvdrz
Copy link
Collaborator

pvdrz commented Nov 2, 2023

The original rustls code emits alerts by calling crate::common_state::CommonState::send_fatal_alert. The managed buffers API implementation does the same by calling crate::low_level::ConnectionState::emit_alert. It should be possible to do an abstraction to ease the deduplication effort in #2 and #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant