summaryrefslogtreecommitdiff
path: root/backport-openssh-6.8p1-sshdT-output.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-07-03 02:42:38 +0000
committerCoprDistGit <infra@openeuler.org>2024-07-03 02:42:38 +0000
commit3c362eae690284f325824e38431881825e32ffdd (patch)
treed2d0e11b92bf88d35c270559d268845d391a4703 /backport-openssh-6.8p1-sshdT-output.patch
parent62f0a34c39a6846b6a86f2bbc7fb8c319bd46d94 (diff)
automatic import of openssh
Diffstat (limited to 'backport-openssh-6.8p1-sshdT-output.patch')
-rw-r--r--backport-openssh-6.8p1-sshdT-output.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/backport-openssh-6.8p1-sshdT-output.patch b/backport-openssh-6.8p1-sshdT-output.patch
new file mode 100644
index 0000000..646e7f1
--- /dev/null
+++ b/backport-openssh-6.8p1-sshdT-output.patch
@@ -0,0 +1,13 @@
+diff -up openssh/servconf.c.sshdt openssh/servconf.c
+--- openssh/servconf.c.sshdt 2015-06-24 11:42:29.041078704 +0200
++++ openssh/servconf.c 2015-06-24 11:44:39.734745802 +0200
+Reference:https://src.fedoraproject.org/rpms/openssh/blob/rawhide/f/backport-openssh-6.8p1-sshdT-output.patch
+@@ -2317,7 +2317,7 @@ dump_config(ServerOptions *o)
+ dump_cfg_string(sXAuthLocation, o->xauth_location);
+ dump_cfg_string(sCiphers, o->ciphers);
+ dump_cfg_string(sMacs, o->macs);
+- dump_cfg_string(sBanner, o->banner);
++ dump_cfg_string(sBanner, o->banner != NULL ? o->banner : "none");
+ dump_cfg_string(sForceCommand, o->adm_forced_command);
+ dump_cfg_string(sChrootDirectory, o->chroot_directory);
+ dump_cfg_string(sTrustedUserCAKeys, o->trusted_user_ca_keys);