bmh10 / rpms / openssh

Forked from rpms/openssh 2 days ago
Clone

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

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