diff options
author | Jack Lloyd <[email protected]> | 2017-11-15 15:55:40 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-11-15 15:55:40 -0500 |
commit | 24a5d0688748abe132b602995a993e5d0bc7d455 (patch) | |
tree | b5ebaa023fecd6900f9fe12b57ad946063c6fd29 /src/cli | |
parent | 0bc3991616917745cbd78df2bf03f5c7b9c5e8ca (diff) | |
parent | 3b4a2c547a948b421d73ae7e1bc0ad9430cce465 (diff) |
Merge GH #884 Refactor X.509 cert/CRL internals
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/asn1.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cli/asn1.cpp b/src/cli/asn1.cpp index 234cbd6e6..08c2562ba 100644 --- a/src/cli/asn1.cpp +++ b/src/cli/asn1.cpp @@ -336,13 +336,7 @@ void decode(std::ostream& output, emit(output, type_name(type_tag), level, length, bit_str); } - else if(type_tag == Botan::PRINTABLE_STRING || - type_tag == Botan::NUMERIC_STRING || - type_tag == Botan::IA5_STRING || - type_tag == Botan::T61_STRING || - type_tag == Botan::VISIBLE_STRING || - type_tag == Botan::UTF8_STRING || - type_tag == Botan::BMP_STRING) + else if(Botan::ASN1_String::is_string_type(type_tag)) { Botan::ASN1_String str; data.decode(str); |