aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509self.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2020-12-15 07:44:24 -0500
committerJack Lloyd <[email protected]>2020-12-20 09:58:11 -0500
commit7c874e8f5e5f863d81b0ead4fe8f495a4108bd3b (patch)
tree40fec005fe21824fe0207303e6c1bede9c4b05be /src/lib/x509/x509self.cpp
parent18fa2b9438547f5f3b73b47166d5665dbf82ddd2 (diff)
Convert ASN1_Tag to an enum class
Diffstat (limited to 'src/lib/x509/x509self.cpp')
-rw-r--r--src/lib/x509/x509self.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/x509self.cpp b/src/lib/x509/x509self.cpp
index f75827fd8..e2282de9e 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, UTF8_STRING);
+ opts.xmpp, ASN1_Tag::UTF8_STRING);
for(auto dns : opts.more_dns)
subject_alt.add_attribute("DNS", dns);