tls/openssl: Fix undefined error codes for LibreSSL

LibreSSL doesn't define all error codes which OpenSSL defines. Wrap them
with #ifndef.

Reference: https://bugs.gentoo.org/744127
This commit is contained in:
Dmitry Podgorny
2020-09-24 13:34:49 +03:00
parent 9ee08f8f2a
commit acced31192
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
0.10.1
- Fixed compilation error when LibreSSL is used
0.10.0
- Coding style has been unified
- SCRAM-SHA-256 and SCRAM-SHA-512 support