1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

LibTLS: Dont also include the OID when printing the RDN short name

This commit is contained in:
stelar7 2023-04-11 23:50:31 +02:00 committed by Ali Mohammad Pur
parent 0829101eb8
commit e4481baef9

View file

@ -851,12 +851,10 @@ ErrorOr<Certificate> Certificate::parse_certificate(ReadonlyBytes buffer, bool)
ErrorOr<String> RelativeDistinguishedName::to_string()
{
#define ADD_IF_RECOGNIZED(identifier, shorthand_code) \
do { \
if (it->key == identifier) { \
cert_name.appendff("\\{}={}", shorthand_code, it->value); \
continue; \
} \
} while (0);
}
StringBuilder cert_name;