aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-05 16:20:07 -0500
committerJack Lloyd <[email protected]>2018-03-05 16:20:07 -0500
commit22ca08fca54ea9f3ae5691bb3e4e3625b7441b5d (patch)
tree42ba11bf680736e8ac036666cd4957ed977334b3
parent48409672cfad8aa1b4765fa45cd3634ad496bda8 (diff)
Fix ASN1 printer test
-rw-r--r--src/cli/asn1.cpp2
-rw-r--r--src/tests/data/asn1_print/output6.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/asn1.cpp b/src/cli/asn1.cpp
index 71bea7452..8a424aad8 100644
--- a/src/cli/asn1.cpp
+++ b/src/cli/asn1.cpp
@@ -19,7 +19,7 @@ namespace Botan_CLI {
class ASN1_Printer final : public Command
{
public:
- ASN1_Printer() : Command("asn1print --print-limit=4096 --bin-limit=1024 --max-depth=64 --pem file") {}
+ ASN1_Printer() : Command("asn1print --print-context-specific --print-limit=4096 --bin-limit=2048 --max-depth=64 --pem file") {}
std::string group() const override
{
diff --git a/src/tests/data/asn1_print/output6.txt b/src/tests/data/asn1_print/output6.txt
index d9c326af1..db97ab06e 100644
--- a/src/tests/data/asn1_print/output6.txt
+++ b/src/tests/data/asn1_print/output6.txt
@@ -110,10 +110,10 @@
d= 6, l= 85: SEQUENCE
d= 7, l= 42: SEQUENCE
d= 8, l= 8: OBJECT PKIX.CertificateAuthorityIssuers [1.3.6.1.5.5.7.48.2]
- d= 8, l= 30: [6] context 861E687474703A2F2F7777772E667265657473612E6F72672F7473612E637274
+ d= 8, l= 8: [6] context http://www.freetsa.org/tsa.crt
d= 7, l= 39: SEQUENCE
d= 8, l= 8: OBJECT PKIX.OCSP [1.3.6.1.5.5.7.48.1]
- d= 8, l= 27: [6] context 861B687474703A2F2F7777772E667265657473612E6F72673A32353630
+ d= 8, l= 8: [6] context http://www.freetsa.org:2560
d= 4, l= 55: SEQUENCE
d= 5, l= 3: OBJECT X509v3.CRLDistributionPoints [2.5.29.31]
d= 5, l= 48: OCTET STRING