Open cgutman opened 1 year ago
Good stuff. I will take a look at this PR this week. Preliminary review looks good. Thanks!
On Sun, Nov 27, 2022 at 8:19 PM Cameron Gutman @.***> wrote:
This PR fixes OpenSSL 3.0 API deprecation warnings (or errors, if OpenSSL 3.0 was compiled without deprecated APIs). Most of the API changes were trivial 1:1 replacements, but the EVP MAC API is a little more complex than the old HMAC API was.
In this change, I also reordered the APPLE checks to avoid creating a mess of nested #ifs.
Verified teststuncode is passing with both OpenSSL 3.0 and OpenSSL 1.1.1.
You can view, comment on, or merge this pull request online at:
https://github.com/jselbie/stunserver/pull/48 Commit Summary
- 2bff5eb https://github.com/jselbie/stunserver/pull/48/commits/2bff5ebd9821efee564b60a66231938ebb64ebf9 Avoid using APIs deprecated in OpenSSL 3.0
File Changes
(2 files https://github.com/jselbie/stunserver/pull/48/files)
- M stuncore/stunbuilder.cpp https://github.com/jselbie/stunserver/pull/48/files#diff-7d39a463a23a501bfb7cf606db310d3080934455a2418ec3f77d124b60426c68 (9)
- M stuncore/stunreader.cpp https://github.com/jselbie/stunserver/pull/48/files#diff-d11ee9759ada5710e0b44ac4d60e4dcd28f115c5e4e9c6e6e674843d7e04965c (79)
Patch Links:
- https://github.com/jselbie/stunserver/pull/48.patch
- https://github.com/jselbie/stunserver/pull/48.diff
— Reply to this email directly, view it on GitHub https://github.com/jselbie/stunserver/pull/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHNSF3FR7H3GROMSPM45ODWKQXGLANCNFSM6AAAAAASM4XNLQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Is this PR ready for merging?
This PR fixes OpenSSL 3.0 API deprecation warnings (or errors, if OpenSSL 3.0 was compiled without deprecated APIs). Most of the API changes were trivial 1:1 replacements, but the EVP MAC API is a little more complex than the old HMAC API was.
In this change, I also reordered the
__APPLE__
checks to avoid creating a mess of nested#ifs
.Verified
teststuncode
is passing with both OpenSSL 3.0 and OpenSSL 1.1.1.