Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com> (cherry picked from commit f3f0adb249b766ab42f1501a08ed8750f3409585)
44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
From abc4f0a260c5f3ed84e59387633feb07013b0a9f Mon Sep 17 00:00:00 2001
|
|
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
|
|
Date: Fri, 21 Jun 2024 01:36:51 +0000
|
|
Subject: [PATCH] tls bugfix: parameter 'StreamDriver.CRLFile' not known
|
|
|
|
imtcp: fix parameter 'StreamDriver.CRLFile' cannot be recognized in input()
|
|
omfwd: fix parameter 'StreamDriver.CRLFile' cannot be recognized in action()
|
|
|
|
Fixes: 844d1795a2b1 ("TLS CRL Support Issue 5081")
|
|
|
|
Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
|
|
---
|
|
plugins/imtcp/imtcp.c | 1 +
|
|
tools/omfwd.c | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c
|
|
index 0c31c93d2..51c4e1e00 100644
|
|
--- a/plugins/imtcp/imtcp.c
|
|
+++ b/plugins/imtcp/imtcp.c
|
|
@@ -257,6 +257,7 @@ static struct cnfparamdescr inppdescr[] = {
|
|
{ "streamdriver.PrioritizeSAN", eCmdHdlrBinary, 0 },
|
|
{ "streamdriver.TlsVerifyDepth", eCmdHdlrPositiveInt, 0 },
|
|
{ "streamdriver.cafile", eCmdHdlrString, 0 },
|
|
+ { "streamdriver.crlfile", eCmdHdlrString, 0 },
|
|
{ "streamdriver.keyfile", eCmdHdlrString, 0 },
|
|
{ "streamdriver.certfile", eCmdHdlrString, 0 },
|
|
{ "permittedpeer", eCmdHdlrArray, 0 },
|
|
diff --git a/tools/omfwd.c b/tools/omfwd.c
|
|
index d1eeeff2a..2acd9e586 100644
|
|
--- a/tools/omfwd.c
|
|
+++ b/tools/omfwd.c
|
|
@@ -213,6 +213,7 @@ static struct cnfparamdescr actpdescr[] = {
|
|
{ "streamdriver.PrioritizeSAN", eCmdHdlrBinary, 0 },
|
|
{ "streamdriver.TlsVerifyDepth", eCmdHdlrPositiveInt, 0 },
|
|
{ "streamdriver.cafile", eCmdHdlrString, 0 },
|
|
+ { "streamdriver.crlfile", eCmdHdlrString, 0 },
|
|
{ "streamdriver.keyfile", eCmdHdlrString, 0 },
|
|
{ "streamdriver.certfile", eCmdHdlrString, 0 },
|
|
{ "resendlastmsgonreconnect", eCmdHdlrBinary, 0 },
|
|
--
|
|
2.33.0
|
|
|