Index: runtime/bin/crypto_linux.cc |
diff --git a/runtime/bin/crypto_linux.cc b/runtime/bin/crypto_linux.cc |
index cf3062d0318a1aa1072f605769e4ce1e8e04276b..875ec8e11e5f82c21b218bb6c5cf3fc0c1a8290f 100644 |
--- a/runtime/bin/crypto_linux.cc |
+++ b/runtime/bin/crypto_linux.cc |
@@ -12,7 +12,6 @@ |
#include "bin/crypto.h" |
#include "platform/signal_blocker.h" |
- |
namespace dart { |
namespace bin { |
@@ -20,7 +19,9 @@ bool Crypto::GetRandomBytes(intptr_t count, uint8_t* buffer) { |
ThreadSignalBlocker signal_blocker(SIGPROF); |
intptr_t fd = TEMP_FAILURE_RETRY_NO_SIGNAL_BLOCKER( |
open("/dev/urandom", O_RDONLY)); |
- if (fd < 0) return false; |
+ if (fd < 0) { |
+ return false; |
+ } |
intptr_t bytes_read = 0; |
do { |
int res = TEMP_FAILURE_RETRY_NO_SIGNAL_BLOCKER( |