diff options
author | Kevin McCarthy <kevin@8t8.us> | 2019-08-13 21:03:51 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2019-08-13 21:03:51 -0700 |
commit | 342b91cf174083bd1b24e11db322ca076cdf625d (patch) | |
tree | b0913033d16aaf955f5eeec08a8d7c1f85d459a2 /mutt_ssl.c | |
parent | 536353c757080d9c02484b96e65b32862d5152d1 (diff) |
Fix LibreSSL build.
Apparently LibreSSL doesn't implement SSL_has_pending(), even for
newer versions.
Diffstat (limited to 'mutt_ssl.c')
-rw-r--r-- | mutt_ssl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -41,6 +41,11 @@ #define SSL_has_pending SSL_pending #endif +/* Unimplemented OpenSSL 1.1 api calls */ +#if (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x2070000fL) +#define SSL_has_pending SSL_pending +#endif + #undef _ #include <string.h> |