]> granicus.if.org Git - mutt/commitdiff
Fix LibreSSL build.
authorKevin McCarthy <kevin@8t8.us>
Wed, 14 Aug 2019 04:03:51 +0000 (21:03 -0700)
committerKevin McCarthy <kevin@8t8.us>
Wed, 14 Aug 2019 04:03:51 +0000 (21:03 -0700)
Apparently LibreSSL doesn't implement SSL_has_pending(), even for
newer versions.

mutt_ssl.c

index 3e9ef9fffdce960c6de1b78d13d25484882ccee4..b48f319bbe49090e230c75d7ac3b802311aed883 100644 (file)
 #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>