aws / s2n-tls

An implementation of the TLS/SSL protocols
https://aws.github.io/s2n-tls/usage-guide/
Apache License 2.0
4.52k stars 704 forks source link

fix(bindings): handle failures from wipe #4798

Closed lrstewart closed 1 week ago

lrstewart commented 1 week ago

Description of changes:

s2n_renegotiate_wipe is fairly likely to fail, so we should handle those failures.

Testing:

Added a new test that hits the failure path.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.