Add clang-tidy support for the CDM
Bug: 256230932 Change-Id: Id3fcf024cd7dcf95218876b81359d6418f5aa067
This commit is contained in:
@@ -693,9 +693,7 @@ bool DeviceFiles::RetrieveLegacyCertificate(std::string* certificate,
|
||||
|
||||
const CertificateState state = RetrieveCertificate(
|
||||
kCertificateLegacy, certificate, private_key, serial_number, system_id);
|
||||
if (state == kCertificateValid || state == kCertificateExpired) return true;
|
||||
|
||||
return false;
|
||||
return state == kCertificateValid || state == kCertificateExpired;
|
||||
}
|
||||
|
||||
bool DeviceFiles::HasCertificate(bool atsc_mode_enabled) {
|
||||
|
||||
Reference in New Issue
Block a user