]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: auto-detect `SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED`
authorViktor Szakats <commit@vsz.me>
Mon, 7 Aug 2023 23:06:50 +0000 (23:06 +0000)
committerViktor Szakats <commit@vsz.me>
Tue, 8 Aug 2023 09:10:04 +0000 (09:10 +0000)
commit00a70cca74092ea21e1776aaf0f999db51e1fa97
tree1b0177e187e30d413b4359c0c2fb2e2f7053971d
parentb0bb86c1e9b48aaef682530f1f3d2e410dff12b1
openssl: auto-detect `SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED`

OpenSSL 1.1.1 defines this macro, but no ealier version, or any of the
popular forks (yet). Use the macro itself to detect its presence,
replacing the hard-wired fork-specific conditions.

This way the feature will enable automatically when forks implement it,
while also shorter and possibly requiring less future maintenance.

Follow-up to 94241a9e78397a2aaf89a213e6ada61e7de7ee02 #6721

Reviewed-by: Jay Satiro
Closes #11617
lib/vtls/openssl.c