blob: 0c2f5e8a7d471b4493fc2e1138e5ee90a103946d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$OpenBSD: patch-sendmail_tls_c,v 1.2 2022/01/26 13:01:08 ajacoutot Exp $
Unbreak build with opaque DH in LibreSSL 3.5: force use of DH_set0_pqg().
Index: sendmail/tls.c
--- sendmail/tls.c.orig
+++ sendmail/tls.c
@@ -43,6 +43,7 @@ SM_RCSID("@(#)$Id: tls.c,v 8.127 2013-11-27 02:51:11 g
# include <openssl/bn.h>
# include <openssl/dsa.h>
# else
+# define MTA_HAVE_DH_set0_pqg 1
# define X509_STORE_CTX_get0_cert(ctx) (ctx)->cert
# define MTA_RSA_TMP_CB 1
# define MTA_ASN1_STRING_data ASN1_STRING_data
|