Fix RAND_bytes inside the sandbox for the chimera build.
commit10eda64c1a5c673dcdca74fbb774f522dc253ad7
authordavidben <davidben@chromium.org>
Tue, 30 Jun 2015 23:53:29 +0000 (30 16:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 23:54:03 +0000 (30 23:54 +0000)
tree4d53d7c1c1d26957d0143a176de4b29646dd1393
parent4d60520da65d4201b0d3ed5f70727933acf5be69
Fix RAND_bytes inside the sandbox for the chimera build.

Fixes WebRtcBrowserTest in the Linux use_openssl=1 configuration. This logic
was assuming that USE_NSS_CERTS never needed to initialize BoringSSL. Instead
switch it to a new RAND_set_urandom_fd API to avoid problems with the zygote.

BUG=328475,462040

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

Cr-Commit-Position: refs/heads/master@{#336924}
content/zygote/zygote_main_linux.cc