projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a030c7b
)
crypto: fix lint
author
Fedor Indutny
<fedor.indutny@gmail.com>
Wed, 26 Mar 2014 07:52:00 +0000
(11:52 +0400)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Wed, 26 Mar 2014 07:52:00 +0000
(11:52 +0400)
src/node_crypto.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto.cc
b/src/node_crypto.cc
index a913a3e103a1f693666286ea16dff6f23a942f9d..c5dcae281f2d49452305c20cc4e457df65c37ca7 100644
(file)
--- a/
src/node_crypto.cc
+++ b/
src/node_crypto.cc
@@
-242,7
+242,9
@@
inline void CheckEntropy() {
CHECK_GE(status, 0); // Cannot fail.
if (status != 0)
break;
- if (RAND_poll() == 0) // Give up, RAND_poll() not supported.
+
+ // Give up, RAND_poll() not supported.
+ if (RAND_poll() == 0)
break;
}
}