summaryrefslogtreecommitdiff
path: root/mail/sendmail/files/patch-readcf.c
blob: 67ce57ab7d99fd1c28f3885caee2384e15328938 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- sendmail/readcf.c.orig	2021-07-14 05:34:51 UTC
+++ sendmail/readcf.c
@@ -3056,6 +3056,10 @@ static struct optioninfo
 	{ "CipherSuites",		O_CIPHERSUITES,	OI_NONE	},
 #endif
 
+#if USE_BLACKLIST
+# define O_BLACKLIST		0xf2
+	{ "UseBlacklist",	O_BLACKLIST,	OI_NONE	},
+#endif
 	{ NULL,				'\0',		OI_NONE	}
 };
 
@@ -4795,6 +4799,12 @@ setoption(opt, val, safe, sticky, e)
 		break;
 #endif
 
+#if USE_BLACKLIST
+	  case O_BLACKLIST:
+		UseBlacklist = atobool(val);
+		break;
+#endif
+
 	  default:
 		if (tTd(37, 1))
 		{