diff options
| author | manuel <manuel@mausz.at> | 2023-08-10 13:22:20 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2023-08-10 13:22:20 +0200 |
| commit | 4df2021e49f5cd9efea175f50033cf27fd3b2dd8 (patch) | |
| tree | 482c57084b19e953ee1379e5352703d998c06476 | |
| parent | 0799f399b169e81bba6f6470d1bff340f83b1b42 (diff) | |
| download | qmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.tar.gz qmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.tar.bz2 qmail-4df2021e49f5cd9efea175f50033cf27fd3b2dd8.zip | |
fix openssl compatibility with <3.0
| -rw-r--r-- | tls.h | 8 |
1 files changed, 5 insertions, 3 deletions
| @@ -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 | ||
| 12 | extern int smtps; | 14 | extern int smtps; |
