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

Prevent failures on 2 subsequent warning alerts if S2N_ALERT_IGNORE_WARNINGS is set #2213

Merged
merged 1 commit into from Aug 10, 2020

Commits on Aug 10, 2020

  1. Prevent failures on 2 subsequent warning alerts if S2N_ALERT_IGNORE_W…

    …ARNINGS is set
    
    Previously when mode was set to S2N_ALERT_IGNORE_WARNINGS and warning
    was ignored, we did not clean up the conn->alert_in buffer, so when we
    received a second warning we would fail the connection with
    S2N_ERR_ALERT_PRESENT at the beginning of s2n_process_alert_fragment
    function.
    xonatius committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    72b2ca0 View commit details
    Browse the repository at this point in the history