Skip to content

imap-send: future proofing and two correctness fixes

Beat Bolli git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3imap-send: prepare for OpenSSL 4.1imap-send.c+6 -14 replies
2/3imap-send: don't expect an ASN1_STRING to be NUL-terminatedimap-send.c+10 -52 replies
3/3imap-send: only check the CN if no SAN DNS names are presentimap-send.c+9 -41 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXiangfei Ding
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] imap-send: future proofing and two correctness fixes

Hi!

Patch 1 future-proofs against a renamed ASN1_STRING function.

Patch 2 fixes an incorrect assumption about NUL-termination of ASN1_STRINGs.

Patch 3 only checks the certificate subject common name if no DNS subject alternative names are available, as defined by RFC 6125.

Beat Bolli (3):
imap-send: prepare for OpenSSL 4.1
imap-send: don't expect an ASN1_STRING to be NUL-terminated
imap-send: only check the CN if no SAN DNS names are present

 imap-send.c | 33 ++++++++++++++++++++++++---------
 1 file changed, 24 insertions(+), 9 deletions(-)
Signature · 1 line
2.53.0