Index: crypto/p224_spake.cc |
diff --git a/crypto/p224_spake.cc b/crypto/p224_spake.cc |
index af3c2b8731e024adcb607de44987bda953f38bac..eccc737d29b143d8081cf6d74afb675ddd79bb70 100644 |
--- a/crypto/p224_spake.cc |
+++ b/crypto/p224_spake.cc |
@@ -8,8 +8,8 @@ |
#include <crypto/p224_spake.h> |
#include <base/logging.h> |
-#include <base/rand_util.h> |
#include <crypto/p224.h> |
+#include <crypto/random.h> |
#include <crypto/secure_util.h> |
namespace { |
@@ -103,7 +103,7 @@ P224EncryptedKeyExchange::P224EncryptedKeyExchange( |
memset(&expected_authenticator_, 0, sizeof(expected_authenticator_)); |
// x_ is a random scalar. |
- base::RandBytes(x_, sizeof(x_)); |
+ RandBytes(x_, sizeof(x_)); |
// X = g**x_ |
p224::Point X; |