diff options
author | Bartosz Przydatek <przydatek@google.com> | 2017-10-04 14:58:28 +0200 |
---|---|---|
committer | Thai Duong <thaidn@google.com> | 2017-10-06 13:14:53 -0700 |
commit | 6256d7cd45f13aad065e49572d1ef53ae9f78d5c (patch) | |
tree | 7020dc09fc4cc401feef4aa85b5936e91b7fc60d /cc/mac/mac_config.cc | |
parent | b0de1cc1bdf95afa1a7ef0e6792f9b19b5769e7d (diff) | |
download | tink-6256d7cd45f13aad065e49572d1ef53ae9f78d5c.tar.gz |
More C++ Config catch-up, adding C++ HOW-TO, fixing typos.
Change-Id: Ifc49082cfcbcf04335a69e047cf6e7589463a18a
ORIGINAL_AUTHOR=Bartosz Przydatek <przydatek@google.com>
GitOrigin-RevId: aea52716172a1da2cb250f9afe81a71bfc5cd353
Diffstat (limited to 'cc/mac/mac_config.cc')
-rw-r--r-- | cc/mac/mac_config.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/mac/mac_config.cc b/cc/mac/mac_config.cc index c147288a5..65c4c3bb3 100644 --- a/cc/mac/mac_config.cc +++ b/cc/mac/mac_config.cc @@ -17,8 +17,6 @@ #include "cc/mac/mac_config.h" #include "cc/config.h" -#include "cc/key_manager.h" -#include "cc/registry.h" #include "cc/mac/mac_catalogue.h" #include "cc/util/status.h" @@ -52,8 +50,7 @@ const google::crypto::tink::RegistryConfig& MacConfig::Tink_1_1_0() { // static util::Status MacConfig::Init() { - return Registry::get_default_registry().AddCatalogue(kCatalogueName, - new MacCatalogue()); + return Registry::AddCatalogue(kCatalogueName, new MacCatalogue()); } // static |