mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 05:39:02 +00:00
LibTLS: Dont also include the OID when printing the RDN short name
This commit is contained in:
parent
0829101eb8
commit
e4481baef9
Notes:
sideshowbarker
2024-07-18 04:46:35 +09:00
Author: https://github.com/stelar7
Commit: e4481baef9
Pull-request: https://github.com/SerenityOS/serenity/pull/18294
1 changed files with 5 additions and 7 deletions
|
@ -850,13 +850,11 @@ 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);
|
||||
#define ADD_IF_RECOGNIZED(identifier, shorthand_code) \
|
||||
if (it->key == identifier) { \
|
||||
cert_name.appendff("\\{}={}", shorthand_code, it->value); \
|
||||
continue; \
|
||||
}
|
||||
|
||||
StringBuilder cert_name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue