commit | c87c462088508424ddd5330ebad9af2633d2c67b | [log] [tgz] |
---|---|---|
author | George Kulakowski <kulakowski@google.com> | Tue Jun 13 13:12:58 2017 -0700 |
committer | George Kulakowski <kulakowski@google.com> | Tue Jun 13 13:12:58 2017 -0700 |
tree | 059601c139cda8b95f16b0a62078767e79055e34 | |
parent | 7234cdabf18ee499ee27a8ae0fa92f75c8b76a7f [diff] |
Use the new MX_OK spelling of NO_ERROR Change-Id: I3018195fa58cef93b3ab20a4c6acab66e56e0a7f
diff --git a/crypto/rand/fuchsia.c b/crypto/rand/fuchsia.c index 2e138d0..41e8521 100644 --- a/crypto/rand/fuchsia.c +++ b/crypto/rand/fuchsia.c
@@ -32,7 +32,7 @@ size_t bytes_drawn; mx_status_t status = mx_cprng_draw(out, output_bytes_this_pass, &bytes_drawn); - if (status != NO_ERROR) { + if (status != MX_OK) { abort(); } requested -= bytes_drawn;