jonathancammack / rpms / openssh

Forked from rpms/openssh 8 months ago
Clone

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

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