Skip to content

imap-send: modernize the OpenSSL API

Beat Bolli git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- keep the check for embedded NUL characters

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3imap-send: use the OpenSSL API to access the subject alternative namesimap-send.c+7 -30 replies
2/3imap-send: use the OpenSSL API to access the subject common nameimap-send.c+12 -50 replies
3/3imap-send: move common code into function host_matches()imap-send.c+9 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] 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.

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 (3):
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: move common code into function host_matches()

 imap-send.c | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

---
Changes vs v1:
- keep the check for embedded NUL characters

Signature · 1 line
2.51.0