jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone

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

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