mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:37:34 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
01879d27c2
commit
6b7602d33b
1 changed files with 3 additions and 4 deletions
|
@ -102,13 +102,13 @@ static bool _set_algorithm(CertificateKeyAlgorithm& algorithm, const u8* value,
|
|||
|
||||
if (length == 8) {
|
||||
// named EC key
|
||||
dbg() << "Cert.algorithm: Named EC (" << *value << "), unsupported";
|
||||
dbgln("Cert.algorithm: Named EC ({}), unsupported", *value);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (length == 5) {
|
||||
// named EC SECP key
|
||||
dbg() << "Cert.algorithm: Named EC secp (" << *value << "), unsupported";
|
||||
dbgln("Cert.algorithm: Named EC secp ({}), unsupported", *value);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ static bool _set_algorithm(CertificateKeyAlgorithm& algorithm, const u8* value,
|
|||
return true;
|
||||
}
|
||||
|
||||
dbg() << "Unsupported RSA Signature mode " << value[8];
|
||||
dbgln("Unsupported RSA Signature mode {}", value[8]);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -385,7 +385,6 @@ static ssize_t _parse_asn1(const Context& context, Certificate& cert, const u8*
|
|||
}
|
||||
break;
|
||||
default:
|
||||
// dbg() << "unused field " << type;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue