-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Replace the magic number returned when outputLength is not 64, with an assertion; it's never supposed to be different from 64. Maybe we should even `std::terminate` here? 2. Swallow the repetitive code into a macro and clear the SSL context in that macro - previously the code leaked the context every time it finished with an error. (Those errors are usually unrecoverable but it's good to manage resources carefully anyway.)
- Loading branch information
Alexey Rusakov
committed
Dec 15, 2023
1 parent
8a845c5
commit ae888a9
Showing
1 changed file
with
25 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters