aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp b/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp
index b53e4061e..1e3613615 100644
--- a/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp
+++ b/src/lib/entropy/darwin_secrandom/darwin_secrandom.cpp
@@ -23,6 +23,8 @@ size_t Darwin_SecRandom::poll(RandomNumberGenerator& rng)
rng.add_entropy(buf.data(), buf.size());
return buf.size() * 8;
}
+
+ return 0;
}
}