comparison src/event/ngx_event_connect.h @ 6725:9b9ae81cd4f0

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 04 Oct 2016 17:26:45 +0300
parents d200a0fd00b7
children e38e9c50a40e
comparison
equal deleted inserted replaced
6724:a6d116645c51 6725:9b9ae81cd4f0