summaryrefslogtreecommitdiff
path: root/openssl-compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't define BIO_get_init() for LibreSSL 3.5+Theo Buehler2021-11-301-1/+2
| | | | | BIO_get_init() is available in LibreSSL 3.5 and later. The BIO type will become opaque, so the existing macro will break the build.
* Fix compilation without OPENSSL_API_COMPATAzat Khuzhin2020-01-071-0/+3
| | | | | | | | | | Use the following for openssl 1.1+: - X509_getm_notBefore over X509_get_notBefore - X509_getm_notAfter over X509_get_notAfter - use OPENSSL_VERSION_NUMBER over SSLeay() - add missing headers Refs: openssl/openssl@0b7347effee5
* Fix build with LibreSSL 2.7Bernard Spil2018-04-021-2/+8
| | | | | | | | LibreSSL 2.7 implements OpenSSL 1.1 API except for BIO_get_init() See also: https://bugs.freebsd.org/226900 Signed-off-by: Bernard Spil <brnrd@FreeBSD.org> Closes: #617 (cherry-pick)
* Add missing includes into openssl-compat.hAzat Khuzhin2017-11-221-0/+3
| | | | | | | Before it depends from the caller #include appropriate headers (at least for OPENSSL_VERSION_NUMBER), but let's make it independent. Fixes: #574
* Unbreak build with LibreSSL after openssl 1.1 support addedJan Beich2017-01-301-2/+2
| | | | | Fixes: 3e9e0a0d46e4 ("Make it build using OpenSSL 1.1.0") Fixes: #445
* sample/le-proxy: use TLS_method instead of SSLv23_method (latest deprecated)Azat Khuzhin2016-12-071-1/+3
|
* Make it build using OpenSSL 1.1.0Kurt Roeckx2016-10-161-0/+33
Rebased (azat): - tabs instead of whitespaces - make openssl-compat.h safe for complex expressions - do not call sk_SSL_COMP_free() in 1.1 (fixes double free) TODO: - clean methods_bufferevent Closes: #397 (cherry-picked)