diff src/event/ngx_event_openssl_stapling.c @ 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 6acbe9964ceb
children 64f5bfba5d96
line wrap: on
line diff