]> git.99rst.org Git - git.git/commit
imap-send: use the OpenSSL API to access the subject common name
authorBeat Bolli <redacted>
Wed, 11 Mar 2026 22:10:26 +0000 (23:10 +0100)
committerJunio C Hamano <redacted>
Wed, 11 Mar 2026 22:25:15 +0000 (15:25 -0700)
commit08fd302fc4b8eaf0bb32856231a5fb46430e3c7e
treeafb85ccebb6cb4409f8feb46efa558efd85f44dd
parentdfcdd0b960fc1efd2fe19e97b973b435727b4c42
imap-send: use the OpenSSL API to access the subject common name

The OpenSSL 4.0 master branch has deprecated the
X509_NAME_get_text_by_NID function. Use the recommended replacement APIs
instead. They have existed since OpenSSL v1.1.0.

Take care to get the constness right for pre-4.0 versions.

Signed-off-by: Beat Bolli <redacted>
Signed-off-by: Junio C Hamano <redacted>
imap-send.c
git clone https://git.99rst.org/PROJECT