Fix logging of FileEncryptionKey by @chipitsine and cppcheck.
GitOrigin-RevId: 6292860a243435541a6c9632d0c214c495cd9835
This commit is contained in:
parent
ac60ef4c5a
commit
0d375251a4
@ -92,7 +92,7 @@ StringBuilder &operator<<(StringBuilder &string_builder, const FileEncryptionKey
|
|||||||
if (key.is_secret()) {
|
if (key.is_secret()) {
|
||||||
return string_builder << "SecretKey{" << key.size() << "}";
|
return string_builder << "SecretKey{" << key.size() << "}";
|
||||||
}
|
}
|
||||||
if (key.is_secret()) {
|
if (key.is_secure()) {
|
||||||
return string_builder << "SecureKey{" << key.size() << "}";
|
return string_builder << "SecureKey{" << key.size() << "}";
|
||||||
}
|
}
|
||||||
return string_builder << "NoKey{}";
|
return string_builder << "NoKey{}";
|
||||||
|
Reference in New Issue
Block a user