diff options
author | Jack Lloyd <[email protected]> | 2021-01-11 10:33:06 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2021-01-13 07:57:03 -0500 |
commit | f8e9dc0bc7939cdbf1691da0f96fc31c6cd41e39 (patch) | |
tree | aed4741137a93a519c2c430036d5768cdd7a0939 /src/lib/x509/x509self.cpp | |
parent | 1b424ce680b1bd88a31b2c229dd89a784c24fd9f (diff) |
Don't use shouting case for ASN1_{Type,Class} values
Leftover from it being an old style enum, and now that we have
split them there is not any further compatability concern.
Diffstat (limited to 'src/lib/x509/x509self.cpp')
-rw-r--r-- | src/lib/x509/x509self.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/x509self.cpp b/src/lib/x509/x509self.cpp index ac3c709e2..a4f2012fd 100644 --- a/src/lib/x509/x509self.cpp +++ b/src/lib/x509/x509self.cpp @@ -36,7 +36,7 @@ void load_info(const X509_Cert_Options& opts, X509_DN& subject_dn, subject_dn.add_attribute("X520.SerialNumber", opts.serial_number); subject_alt = AlternativeName(opts.email, opts.uri, opts.dns, opts.ip); subject_alt.add_othername(OID::from_string("PKIX.XMPPAddr"), - opts.xmpp, ASN1_Type::UTF8_STRING); + opts.xmpp, ASN1_Type::Utf8String); for(auto dns : opts.more_dns) subject_alt.add_attribute("DNS", dns); |