summaryrefslogtreecommitdiff
path: root/chromium/device/fido/virtual_u2f_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/device/fido/virtual_u2f_device.cc')
-rw-r--r--chromium/device/fido/virtual_u2f_device.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/device/fido/virtual_u2f_device.cc b/chromium/device/fido/virtual_u2f_device.cc
index a0567217c8d..b8a77cdc3a2 100644
--- a/chromium/device/fido/virtual_u2f_device.cc
+++ b/chromium/device/fido/virtual_u2f_device.cc
@@ -143,7 +143,7 @@ base::Optional<std::vector<uint8_t>> VirtualU2fDevice::DoRegister(
// Create key to register.
// Note: Non-deterministic, you need to mock this out if you rely on
// deterministic behavior.
- std::unique_ptr<PrivateKey> private_key(FreshP256Key());
+ std::unique_ptr<PrivateKey> private_key(PrivateKey::FreshP256Key());
const std::vector<uint8_t> x962 = private_key->GetX962PublicKey();
// Our key handles are simple hashes of the public key.