sendmail: fix build with openssl3
This commit is contained in:
parent
f0285b9405
commit
d6d19bca1d
2 changed files with 23 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.68 2022/05/10 13:46:49 sborrill Exp $
|
||||
$NetBSD: distinfo,v 1.69 2023/01/12 11:09:34 markd Exp $
|
||||
|
||||
BLAKE2s (sendmail.8.16.1.tar.gz) = 6f92d35a8dfe1ba071da197ae53559a1d67290f7042e5650ebbdac3d3045fe2f
|
||||
SHA512 (sendmail.8.16.1.tar.gz) = d7d4aac3c6d7505782abdb166204901b8b51cac000d610dfe40eda9eef7441a073af9e8e0b14c8719b07b445f55a1e2c28ac63d663d0daa7f1eafc5a101788b2
|
||||
|
@ -36,3 +36,4 @@ SHA1 (patch-bp) = 9a1daac264aba6c4fc39a63a464b942dd25b06eb
|
|||
SHA1 (patch-bq) = 548bf6d373cb49958437548a65803b6f3c6b35d2
|
||||
SHA1 (patch-br) = 1f0b9716906b91ce2b867bf65e5c06ad16749e36
|
||||
SHA1 (patch-bs) = f73a66b3f747480505b26876430135364e9aa99e
|
||||
SHA1 (patch-sendmail_tls.c) = 42b4af86be50f3b0c79fb3a2699b0c683ab34844
|
||||
|
|
21
mail/sendmail/patches/patch-sendmail_tls.c
Normal file
21
mail/sendmail/patches/patch-sendmail_tls.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
$NetBSD: patch-sendmail_tls.c,v 1.1 2023/01/12 11:09:34 markd Exp $
|
||||
|
||||
Support openssl3
|
||||
|
||||
--- sendmail/tls.c.orig 2020-06-02 09:41:43.000000000 +0000
|
||||
+++ sendmail/tls.c
|
||||
@@ -29,7 +29,13 @@ SM_RCSID("@(#)$Id: tls.c,v 8.127 2013-11
|
||||
# ERROR: OpenSSL version OPENSSL_VERSION_NUMBER is unsupported.
|
||||
# endif
|
||||
|
||||
-# if OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L
|
||||
+/*
|
||||
+ ** *SSL version numbers:
|
||||
+ ** OpenSSL 0.9 - 1.1 (so far), 3.0 (in alpha)
|
||||
+ ** LibreSSL 2.0 (0x20000000L - part of "These will never change")
|
||||
+ */
|
||||
+
|
||||
+# if (OPENSSL_VERSION_NUMBER >= 0x10100000L && OPENSSL_VERSION_NUMBER < 0x20000000L) || OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
# define MTA_HAVE_DH_set0_pqg 1
|
||||
# define MTA_HAVE_DSA_GENERATE_EX 1
|
||||
|
Loading…
Reference in a new issue