Mercurial > dropbear
comparison dbrandom.c @ 1701:6e5037ae2c1c
Fix warning for unused prngd branch
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 28 May 2020 23:01:15 +0800 |
parents | f966834f0f9c |
children | 517fb7b62438 |
comparison
equal
deleted
inserted
replaced
1700:56f636f84bf5 | 1701:6e5037ae2c1c |
---|---|
51 | 51 |
52 /* Pass wantlen=0 to hash an entire file */ | 52 /* Pass wantlen=0 to hash an entire file */ |
53 static int | 53 static int |
54 process_file(hash_state *hs, const char *filename, | 54 process_file(hash_state *hs, const char *filename, |
55 unsigned int wantlen, int prngd) { | 55 unsigned int wantlen, int prngd) { |
56 int readfd; | 56 int readfd = -1; |
57 unsigned int readcount; | 57 unsigned int readcount; |
58 int ret = DROPBEAR_FAILURE; | 58 int ret = DROPBEAR_FAILURE; |
59 | 59 |
60 if (prngd) { | 60 if (prngd) { |
61 #if DROPBEAR_USE_PRNGD | 61 #if DROPBEAR_USE_PRNGD |