Mercurial > dropbear
diff svr-runopts.c @ 446:2cd2edfa11ee
Just use /dev/urandom since that's what everyone ends up using anyway.
Make -u a nop.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 19 Jul 2007 15:47:32 +0000 |
parents | d82a2a44c684 |
children | 3e6c536bc023 |
line wrap: on
line diff
--- a/svr-runopts.c Thu Jul 19 14:08:24 2007 +0000 +++ b/svr-runopts.c Thu Jul 19 15:47:32 2007 +0000 @@ -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 @@ #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 @@ exit(EXIT_FAILURE); break; case 'u': - random_dev = DROPBEAR_URANDOM_DEV; + /* backwards compatibility with old urandom option */ break; #ifdef DEBUG_TRACE case 'v':