aboutsummaryrefslogtreecommitdiff
path: root/cc/mac/mac_config.cc
diff options
context:
space:
mode:
authortholenst <tholenst@google.com>2019-08-14 07:41:42 -0700
committerCopybara-Service <copybara-worker@google.com>2019-08-14 07:42:15 -0700
commit0fd34cd156c706d8aff2683b01983e97a6478f47 (patch)
treef1b4aa96e2d2e6f72c569a79fe0011c27f4854f6 /cc/mac/mac_config.cc
parent20c54d69df44442d64aec19963808f091b0236af (diff)
downloadtink-0fd34cd156c706d8aff2683b01983e97a6478f47.tar.gz
Migrate the HmacKeyManger to a KeyTypeManager.
We will migrate the test in an upcoming cl. PiperOrigin-RevId: 263347373
Diffstat (limited to 'cc/mac/mac_config.cc')
-rw-r--r--cc/mac/mac_config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/mac/mac_config.cc b/cc/mac/mac_config.cc
index a5a401f73..b891285f0 100644
--- a/cc/mac/mac_config.cc
+++ b/cc/mac/mac_config.cc
@@ -39,7 +39,7 @@ const RegistryConfig& MacConfig::Latest() {
// static
util::Status MacConfig::Register() {
// Register key managers.
- auto status = Registry::RegisterKeyManager(
+ auto status = Registry::RegisterKeyTypeManager(
absl::make_unique<HmacKeyManager>(), true);
if (!status.ok()) return status;
status = Registry::RegisterKeyTypeManager(