summaryrefslogtreecommitdiffstats
path: root/crypto/p224_spake.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/p224_spake.cc')
-rw-r--r--crypto/p224_spake.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/p224_spake.cc b/crypto/p224_spake.cc
index af3c2b8..31109a4 100644
--- a/crypto/p224_spake.cc
+++ b/crypto/p224_spake.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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;