$OpenBSD: patch-sendmail_tls_c,v 1.1 2021/11/27 18:26:16 tb 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
@@ -44,6 +44,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
