diff options
author | asynts <asynts@gmail.com> | 2021-01-11 21:27:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-16 11:54:35 +0100 |
commit | 6b7602d33b1611e96b9f9e555e6a0f0871cd4980 (patch) | |
tree | 52301fdac49e1c0f0abc3ad7b8448eff8c236ab0 /Userland/Libraries | |
parent | 01879d27c22a74a8900f570fa3e737f3d3f65fc1 (diff) | |
download | serenity-6b7602d33b1611e96b9f9e555e6a0f0871cd4980.zip |
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.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibTLS/TLSv12.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Userland/Libraries/LibTLS/TLSv12.cpp b/Userland/Libraries/LibTLS/TLSv12.cpp index 272f12b961..aa0d70e0ed 100644 --- a/Userland/Libraries/LibTLS/TLSv12.cpp +++ b/Userland/Libraries/LibTLS/TLSv12.cpp @@ -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; } } |