| Index: base/rand_util_posix.cc
|
| diff --git a/base/rand_util_posix.cc b/base/rand_util_posix.cc
|
| index c65551df50134b08f184fca51423860c2de61003..43dfd1e7904914e71eea5eb235526ab42cecde48 100644
|
| --- a/base/rand_util_posix.cc
|
| +++ b/base/rand_util_posix.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/rand_util.h"
|
| +#include "base/rand_util_c.h"
|
|
|
| #include <errno.h>
|
| #include <fcntl.h>
|
| @@ -54,3 +55,7 @@ uint64 RandUint64() {
|
| }
|
|
|
| } // namespace base
|
| +
|
| +int GetUrandomFD(void) {
|
| + return g_urandom_fd.Pointer()->fd();
|
| +}
|
|
|