diff options
author | Jack Lloyd <[email protected]> | 2019-08-04 06:32:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-08-04 16:26:48 -0400 |
commit | b7434defb0769f1f06a7b55f5435ceb690856713 (patch) | |
tree | 6e4e86f22dc01b75db8a59ad86f8b7261791a840 /src/lib/x509/x509self.cpp | |
parent | 67fddcd63e065eaf8bafbb15f615cbf203a305bd (diff) |
Deprecate and replace OIDS::lookup
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 d84544eff..d848185ec 100644 --- a/src/lib/x509/x509self.cpp +++ b/src/lib/x509/x509self.cpp @@ -35,7 +35,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(OIDS::lookup("PKIX.XMPPAddr"), + subject_alt.add_othername(OIDS::str2oid_or_throw("PKIX.XMPPAddr"), opts.xmpp, UTF8_STRING); for(auto dns : opts.more_dns) |