diff options
author | lloyd <[email protected]> | 2012-05-27 12:02:53 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-05-27 12:02:53 +0000 |
commit | 4738d02a99eb371b5a22fd5547a4b63dfa77fb95 (patch) | |
tree | b18df32bed391b0a74147ace3a162d4c3f5c6cc5 /src/cert | |
parent | b4bdefd0ebcf57d686a383d7460f0ade9fb9883b (diff) |
Remove the PRIVATE ASN.1 tag. Not being used outside of the pretty
printer example, and really is just CONSTRUCTED | CONTEXT_SPECIFIC.
Extend the ASN.1 printer to recurse into OCTET STRINGS that
contain DER, and to print enumeration values.
BOTAN_DLL export some OID operators (+, !=, <)
Add an OID entry for 1.3.6.1.5.5.7.48.1.1 OCSP basic response.
Correct the Certificate_Policies code, it was dumping policy OIDs into
the extended key usage!
Diffstat (limited to 'src/cert')
-rw-r--r-- | src/cert/x509/x509_ext.cpp | 2 |
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()); } /* |