diff options
author | Tom <tomut@yahoo.com> | 2022-04-14 16:58:40 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-15 16:34:26 +0100 |
commit | 49de4d5f33b5186218734ac78432509a413c1580 (patch) | |
tree | 68014565ed303bcf0af4aed4e9fcfe6ea6327b58 /Userland/Libraries/LibTLS | |
parent | a3a1fe833b22f75319fb8114bb15bb18e0ad91c1 (diff) | |
download | serenity-49de4d5f33b5186218734ac78432509a413c1580.zip |
LibDNS: Remove the 'DNS' prefix from the various type and class names
Since all types and class names live in the DNS namespace, we don't
need to spell it out twice each time.
Diffstat (limited to 'Userland/Libraries/LibTLS')
-rw-r--r-- | Userland/Libraries/LibTLS/Certificate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibTLS/Certificate.cpp b/Userland/Libraries/LibTLS/Certificate.cpp index 7ef025013e..a746b0663f 100644 --- a/Userland/Libraries/LibTLS/Certificate.cpp +++ b/Userland/Libraries/LibTLS/Certificate.cpp @@ -409,7 +409,7 @@ Optional<Certificate> Certificate::parse_asn1(ReadonlyBytes buffer, bool) break; case 2: { // DNS Name - READ_OBJECT_OR_FAIL(IA5String, StringView, name, "Certificate::TBSCertificate::Extensions::$::Extension::extension_value::SubjectAlternativeName::$::DNSName"); + READ_OBJECT_OR_FAIL(IA5String, StringView, name, "Certificate::TBSCertificate::Extensions::$::Extension::extension_value::SubjectAlternativeName::$::Name"); certificate.SAN.append(name); break; } |