summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--ssh-rand-helper.c8
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 566167053..e477a8fc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
120091107 120091120
2 - (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
3 line arguments as none are supported. Exit when passed unrecognised
4 commandline flags. bz#1568 from gson AT araneus.fi
5
620091118
2 - (djm) [channels.c misc.c misc.h sshd.c] add missing setsockopt() to 7 - (djm) [channels.c misc.c misc.h sshd.c] add missing setsockopt() to
3 set IPV6_V6ONLY for local forwarding with GatwayPorts=yes. Unify 8 set IPV6_V6ONLY for local forwarding with GatwayPorts=yes. Unify
4 setting IPV6_V6ONLY behind a new function misc.c:sock_set_v6only() 9 setting IPV6_V6ONLY behind a new function misc.c:sock_set_v6only()
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 8b1c4b4f4..0fcda7fff 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -853,11 +853,17 @@ main(int argc, char **argv)
853 default: 853 default:
854 error("Invalid commandline option"); 854 error("Invalid commandline option");
855 usage(); 855 usage();
856 exit(1);
856 } 857 }
857 } 858 }
858
859 log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1); 859 log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);
860 860
861 if (argc != optind) {
862 error("Unexpected commandline arguments.");
863 usage();
864 exit(1);
865 }
866
861#ifdef USE_SEED_FILES 867#ifdef USE_SEED_FILES
862 prng_read_seedfile(); 868 prng_read_seedfile();
863#endif 869#endif