]> git.kaiwu.me - nginx.git/commit
SSL: use X509_check_host() with LibreSSL.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 4 Oct 2016 14:26:45 +0000 (17:26 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 4 Oct 2016 14:26:45 +0000 (17:26 +0300)
commit3c44339bfed78c9ad3549edf2b7408c15d3ae51c
treef6f8e6ef9b1d1a3dc3ca690b9e81415d3ccde1ec
parent2c84f7af2c97a55bf138a5fcedeb164733dc9bea
SSL: use X509_check_host() with LibreSSL.

Explicit checks for OPENSSL_VERSION_NUMBER replaced with checks
for X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT, thus allowing X509_check_host()
to be used with other libraries.  In particular, X509_check_host() was
introduced in LibreSSL 2.5.0.
src/event/ngx_event_openssl.c