Stop using the nacl_secure_random_init() which is deprecated.

BUG=https://code.google.com/p/nativeclient/issues/detail?id=3881

Review URL: https://codereview.chromium.org/345733007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278609 0039d316-1c4b-4281-b951-d872f2087c98
parent f43e433c
......@@ -12,7 +12,6 @@
namespace {
void GetRandomBytes(void* output, size_t num_bytes) {
CHECK_EQ(0, nacl_secure_random_init());
char* output_ptr = static_cast<char*>(output);
while (num_bytes > 0) {
size_t nread;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment