openssh/openssh-8.7p1-minrsabits.patch

25 lines
951 B
Diff
Raw Normal View History

diff --git a/readconf.c b/readconf.c
2022-09-29 13:42:34 +00:00
index 7f26c680..42be690b 100644
--- a/readconf.c
+++ b/readconf.c
2023-04-27 15:52:26 +00:00
@@ -320,6 +320,7 @@ static struct {
{ "securitykeyprovider", oSecurityKeyProvider },
{ "knownhostscommand", oKnownHostsCommand },
2023-04-27 15:52:26 +00:00
{ "requiredrsasize", oRequiredRSASize },
2022-09-29 13:42:34 +00:00
+ { "rsaminsize", oRequiredRSASize }, /* alias */
2023-04-27 15:52:26 +00:00
{ "enableescapecommandline", oEnableEscapeCommandline },
{ NULL, oBadOption }
diff --git a/servconf.c b/servconf.c
2022-09-29 13:42:34 +00:00
index 29df0463..423772b1 100644
--- a/servconf.c
+++ b/servconf.c
2023-04-27 15:52:26 +00:00
@@ -676,6 +680,7 @@ static struct {
{ "casignaturealgorithms", sCASignatureAlgorithms, SSHCFG_ALL },
{ "securitykeyprovider", sSecurityKeyProvider, SSHCFG_GLOBAL },
2023-04-27 15:52:26 +00:00
{ "requiredrsasize", sRequiredRSASize, SSHCFG_ALL },
2022-09-29 13:42:34 +00:00
+ { "rsaminsize", sRequiredRSASize, SSHCFG_ALL }, /* alias */
2023-04-27 15:52:26 +00:00
{ "channeltimeout", sChannelTimeout, SSHCFG_ALL },
{ "unusedconnectiontimeout", sUnusedConnectionTimeout, SSHCFG_ALL },
{ NULL, sBadOption, 0 }