summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2023-08-10 13:22:20 +0200
committermanuel <manuel@mausz.at>2023-08-10 13:22:20 +0200
commit4df2021e49f5cd9efea175f50033cf27fd3b2dd8 (patch)
tree482c57084b19e953ee1379e5352703d998c06476
parent0799f399b169e81bba6f6470d1bff340f83b1b42 (diff)
downloadqmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.tar.gz
qmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.tar.bz2
qmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.zip
fix openssl compatibility with <3.0
-rw-r--r--tls.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tls.h b/tls.h
index 3046c4e..7dc999e 100644
--- a/tls.h
+++ b/tls.h
@@ -4,9 +4,11 @@
4#include <openssl/ssl.h> 4#include <openssl/ssl.h>
5#include <openssl/err.h> 5#include <openssl/err.h>
6 6
7/* ECC: make sure we have at least 1.0.0 */ 7/*
8#if !defined(OPENSSL_NO_EC) && defined(TLSEXT_ECPOINTFORMAT_uncompressed) 8 * Always used when defined, SMTP has no truncation attacks.
9#define HAVE_ECC 9 */
10#ifndef SSL_OP_IGNORE_UNEXPECTED_EOF
11#define SSL_OP_IGNORE_UNEXPECTED_EOF 0L
10#endif 12#endif
11 13
12extern int smtps; 14extern int smtps;