[PATCH 0/4] imap-send: modernize the OpenSSL API
OpenSSL recently released version 4.0.0-alpha1 [1]. Compiling with this version revealed some erroneous and deprecated code.
This series aims to update this code to use the documented OpenSSL APIs. All of the newly used APIs have existed since OpenSSL 1.1.0, the latest version of which was released in September 2019 [2]. IMHO there is no need to support even older OpenSSL versions.
- The first two commits are needed to make imap-send.c compile against OpenSSL 4.0 (and older!).
- The remaining two are follow-up cleanups that are not strictly necessary.
Cc-ing Oswald as the original author of the affected code.
[1] https://github.com/openssl/openssl/tree/openssl-4.0.0-alpha1 [2] https://openssl-library.org/source/old/1.1.0/index.html
Beat Bolli (4): imap-send: use the OpenSSL API to access the subject alternative names imap-send: use the OpenSSL API to access the subject common name imap-send: remove two string length checks imap-send: refactor function host_matches()
imap-send.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-)
-- 2.51.0