summaryrefslogtreecommitdiff
path: root/openssh-8.7p1-minrsabits.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-02 01:13:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-02 01:13:25 +0000
commitf38978765535e8c844371dbcd8e2ae1ace135e08 (patch)
tree8f6f73cc41ec340be45959fae67da4c6abec1e21 /openssh-8.7p1-minrsabits.patch
parent151bd95e0af0e9382ca9065b0d6cc6d62f1ac794 (diff)
automatic import of opensshopeneuler20.03
Diffstat (limited to 'openssh-8.7p1-minrsabits.patch')
-rw-r--r--openssh-8.7p1-minrsabits.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/openssh-8.7p1-minrsabits.patch b/openssh-8.7p1-minrsabits.patch
new file mode 100644
index 0000000..2ed59a3
--- /dev/null
+++ b/openssh-8.7p1-minrsabits.patch
@@ -0,0 +1,24 @@
+diff --git a/readconf.c b/readconf.c
+index 7f26c680..42be690b 100644
+--- a/readconf.c
++++ b/readconf.c
+@@ -320,6 +320,7 @@ static struct {
+ { "securitykeyprovider", oSecurityKeyProvider },
+ { "knownhostscommand", oKnownHostsCommand },
+ { "requiredrsasize", oRequiredRSASize },
++ { "rsaminsize", oRequiredRSASize }, /* alias */
+ { "enableescapecommandline", oEnableEscapeCommandline },
+
+ { NULL, oBadOption }
+diff --git a/servconf.c b/servconf.c
+index 29df0463..423772b1 100644
+--- a/servconf.c
++++ b/servconf.c
+@@ -676,6 +680,7 @@ static struct {
+ { "casignaturealgorithms", sCASignatureAlgorithms, SSHCFG_ALL },
+ { "securitykeyprovider", sSecurityKeyProvider, SSHCFG_GLOBAL },
+ { "requiredrsasize", sRequiredRSASize, SSHCFG_ALL },
++ { "rsaminsize", sRequiredRSASize, SSHCFG_ALL }, /* alias */
+ { "channeltimeout", sChannelTimeout, SSHCFG_ALL },
+ { "unusedconnectiontimeout", sUnusedConnectionTimeout, SSHCFG_ALL },
+ { NULL, sBadOption, 0 }