diff options
Diffstat (limited to 'chromium/device/fido/mac/util.mm')
-rw-r--r-- | chromium/device/fido/mac/util.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/device/fido/mac/util.mm b/chromium/device/fido/mac/util.mm index 624081c4366..57c2e272306 100644 --- a/chromium/device/fido/mac/util.mm +++ b/chromium/device/fido/mac/util.mm @@ -55,7 +55,7 @@ std::unique_ptr<PublicKey> SecKeyRefToECPublicKey(SecKeyRef public_key_ref) base::span<const uint8_t> key_data = base::make_span(CFDataGetBytePtr(data_ref), CFDataGetLength(data_ref)); auto key = P256PublicKey::ParseX962Uncompressed( - static_cast<int32_t>(CoseAlgorithmIdentifier::kCoseEs256), key_data); + static_cast<int32_t>(CoseAlgorithmIdentifier::kEs256), key_data); if (!key) { LOG(ERROR) << "Unexpected public key format: " << base::HexEncode(key_data.data(), key_data.size()); |