aboutsummaryrefslogtreecommitdiff
path: root/cc/registry.h
diff options
context:
space:
mode:
authorBartosz Przydatek <przydatek@google.com>2018-08-22 08:19:47 -0700
committerTink Team <noreply@google.com>2018-08-30 11:30:03 -0400
commitff68d1eb348056e49e48dd027e78c9d75669c75a (patch)
treee5d98ec6a55a86098576150e461ece7ef411f388 /cc/registry.h
parent16abc9ead48299a0ff4ac656d96c03e547baa27a (diff)
downloadtink-ff68d1eb348056e49e48dd027e78c9d75669c75a.tar.gz
Correcting a wrong comment in C++ Registry.
PiperOrigin-RevId: 209768143 GitOrigin-RevId: c28dbf80a4df7be228868273081713733653171d
Diffstat (limited to 'cc/registry.h')
-rw-r--r--cc/registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/registry.h b/cc/registry.h
index 79692237f..14a689f39 100644
--- a/cc/registry.h
+++ b/cc/registry.h
@@ -134,8 +134,8 @@ class Registry {
// Convenience method for extracting the public key data from the
// private key given in serialized_private_key.
- // It looks up a KeyManager identified by type_url, which must
- // be a PrivateKeyManager, and calls PrivateKeyManager::GetPublicKeyData.
+ // It looks up a KeyManager identified by type_url, whose KeyFactory must be
+ // a PrivateKeyFactory, and calls PrivateKeyFactory::GetPublicKeyData.
static crypto::tink::util::StatusOr<
std::unique_ptr<google::crypto::tink::KeyData>>
GetPublicKeyData(const std::string& type_url,