commit | 16036eaa8c49684523a4760de68ce331dfe1967c | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Tue Oct 04 17:26:45 2016 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Tue Oct 04 17:26:45 2016 +0300 |
tree | f6f8e6ef9b1d1a3dc3ca690b9e81415d3ccde1ec | |
parent | 4eb195b4f098ac21fde70d75e8d28dcec237dc36 [diff] |
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.