aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert')
-rw-r--r--src/cert/x509/x509_ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/x509/x509_ext.cpp b/src/cert/x509/x509_ext.cpp
index 919fb790a..751d20266 100644
--- a/src/cert/x509/x509_ext.cpp
+++ b/src/cert/x509/x509_ext.cpp
@@ -504,7 +504,7 @@ void Certificate_Policies::decode_inner(const std::vector<byte>& in)
void Certificate_Policies::contents_to(Data_Store& info, Data_Store&) const
{
for(size_t i = 0; i != oids.size(); ++i)
- info.add("X509v3.ExtendedKeyUsage", oids[i].as_string());
+ info.add("X509v3.CertificatePolicies", oids[i].as_string());
}
/*