bmh10 / rpms / openssh

Forked from rpms/openssh 10 days ago
Clone

Blame SOURCES/openssh-6.8p1-sshdT-output.patch

9070b3
diff -up openssh/servconf.c.sshdt openssh/servconf.c
9070b3
--- openssh/servconf.c.sshdt	2015-06-24 11:42:29.041078704 +0200
9070b3
+++ openssh/servconf.c	2015-06-24 11:44:39.734745802 +0200
9070b3
@@ -2317,7 +2317,7 @@ dump_config(ServerOptions *o)
9070b3
 	dump_cfg_string(sXAuthLocation, o->xauth_location);
9070b3
 	dump_cfg_string(sCiphers, o->ciphers);
9070b3
 	dump_cfg_string(sMacs, o->macs);
9070b3
-	dump_cfg_string(sBanner, o->banner);
9070b3
+	dump_cfg_string(sBanner, o->banner != NULL ? o->banner : "none");
9070b3
 	dump_cfg_string(sForceCommand, o->adm_forced_command);
9070b3
 	dump_cfg_string(sChrootDirectory, o->chroot_directory);
9070b3
 	dump_cfg_string(sTrustedUserCAKeys, o->trusted_user_ca_keys);