mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
clean some fuzzing conditionals
--HG-- branch : fuzz
This commit is contained in:
@@ -146,7 +146,7 @@ void addrandom(const unsigned char * buf, unsigned int len)
|
||||
hash_state hs;
|
||||
|
||||
#if DROPBEAR_FUZZ
|
||||
if (fuzz.fuzzing || fuzz.recordf) {
|
||||
if (fuzz.fuzzing) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
@@ -164,7 +164,7 @@ void addrandom(const unsigned char * buf, unsigned int len)
|
||||
static void write_urandom()
|
||||
{
|
||||
#if DROPBEAR_FUZZ
|
||||
if (fuzz.fuzzing || fuzz.recordf) {
|
||||
if (fuzz.fuzzing) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
@@ -204,7 +204,7 @@ void seedrandom() {
|
||||
clock_t clockval;
|
||||
|
||||
#if DROPBEAR_FUZZ
|
||||
if (fuzz.fuzzing || fuzz.recordf) {
|
||||
if (fuzz.fuzzing) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user