mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- add fix for possible DANE problem
This commit is contained in:
parent
4a912eb9e7
commit
54cd28389b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551445
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= meta1
|
||||
PORTVERSION= 1.1.0a.15.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.MeTA1.org/download/.alpha/3rdt/
|
||||
DISTNAME= ${PORTNAME}-1.1.Alpha15.2
|
||||
|
12
mail/meta1/files/patch-smtpch.c
Normal file
12
mail/meta1/files/patch-smtpch.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- smtpc/smtpch.c Sat Jun 20 09:00:11 2020
|
||||
+++ sm-9/mta/smtpc/smtpch.c Thu Oct 1 10:52:53 2020
|
||||
@@ -1642,7 +1646,7 @@
|
||||
if (!IPADDR_EQ(*srvaddr, tdcnf->tlsdanecnf_ips[ui]))
|
||||
continue;
|
||||
tdcnf->tlsdanecnf_hn_idx = (int) ui;
|
||||
- for (d = 0; d < tdcnf->tlsdanecnf_ips_n; d++) {
|
||||
+ for (d = 0; d < SM_ARRAY_SIZE(tdcnf->tlsdanecnf_pubkey_fps); d++) {
|
||||
if (NULL == tdcnf->tlsdanecnf_pubkey_fps[d])
|
||||
continue;
|
||||
if (!tlsaapplies(d, tdcnf->tlsdanecnf_ip2pk[ui]))
|
||||
|
Loading…
Reference in New Issue
Block a user