diff options
Diffstat (limited to 'svr-runopts.c')
-rw-r--r-- | svr-runopts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svr-runopts.c b/svr-runopts.c index 2f51096..59f4514 100644 --- a/svr-runopts.c +++ b/svr-runopts.c @@ -28,6 +28,7 @@ #include "buffer.h" #include "dbutil.h" #include "algo.h" +#include "random.h" svr_runopts svr_opts; /* GLOBAL */ @@ -80,6 +81,7 @@ 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 @@ -216,6 +218,9 @@ void svr_getopts(int argc, char ** argv) { printhelp(argv[0]); exit(EXIT_FAILURE); break; + case 'u': + random_dev = DROPBEAR_URANDOM_DEV; + break; #ifdef DEBUG_TRACE case 'v': debug_trace = 1; |