diff src/event/ngx_event_openssl.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 04d8d1f85649
children e38e9c50a40e
line wrap: on
line diff