diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-07-19 15:47:32 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-07-19 15:47:32 +0000 |
commit | b04e2d14ef0319a5d3814709a5ee0c00b7ceec19 (patch) | |
tree | ed06c2918580d2714749463ae1c7a919ad1d818f /svr-runopts.c | |
parent | 456b5009022fe7e7facbe5715a63c961cef1abd1 (diff) |
Just use /dev/urandom since that's what everyone ends up using anyway.
Make -u a nop.
--HG--
extra : convert_revision : ef0615311b43c8bfe1985df64a4a95ce4ec0d8e6
Diffstat (limited to 'svr-runopts.c')
-rw-r--r-- | svr-runopts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svr-runopts.c b/svr-runopts.c index 59f4514..dde0b07 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -28,7 +28,6 @@ #include "buffer.h" #include "dbutil.h" #include "algo.h" -#include "random.h" svr_runopts svr_opts; /* GLOBAL */ @@ -81,7 +80,6 @@ static void printhelp(const char * progname) { #ifdef INETD_MODE "-i Start for inetd\n" #endif - "-u Use /dev/urandom - use with caution\n" #ifdef DEBUG_TRACE "-v verbose\n" #endif @@ -219,7 +217,7 @@ void svr_getopts(int argc, char ** argv) { exit(EXIT_FAILURE); break; case 'u': - random_dev = DROPBEAR_URANDOM_DEV; + /* backwards compatibility with old urandom option */ break; #ifdef DEBUG_TRACE case 'v': |