aboutsummaryrefslogtreecommitdiff
path: root/cc/mac/mac_config.cc
diff options
context:
space:
mode:
authortholenst <tholenst@google.com>2019-08-09 00:37:21 -0700
committerCopybara-Service <copybara-worker@google.com>2019-08-09 00:37:54 -0700
commit732dca60a7cbb6b66b4173e93a25e376c33f06f9 (patch)
tree88ddaffd2db69d5e59f98c0b0391e0bddbc73a78 /cc/mac/mac_config.cc
parentc72d510ce7ac8411265ca810b37f139a19717960 (diff)
downloadtink-732dca60a7cbb6b66b4173e93a25e376c33f06f9.tar.gz
Migrate the AesCmacKeyManager to a KeyTypeManager.
PiperOrigin-RevId: 262511503
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 f9fe25137..793d11285 100644
--- a/cc/mac/mac_config.cc
+++ b/cc/mac/mac_config.cc
@@ -45,7 +45,7 @@ util::Status MacConfig::Register() {
auto status = Registry::RegisterKeyManager(
absl::make_unique<HmacKeyManager>(), true);
if (!status.ok()) return status;
- status = Registry::RegisterKeyManager(
+ status = Registry::RegisterKeyTypeManager(
absl::make_unique<AesCmacKeyManager>(), true);
if (!status.ok()) return status;