aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-06-29 11:11:22 -0400
committerJack Lloyd <[email protected]>2017-06-29 11:11:22 -0400
commit705336f7bc01df0a345bdc0e58c36d01c7f467d3 (patch)
tree2434684bec53187bda5114c771c3b6fa4ffff22e
parent166f6656b5fd62fd88090ca40993673c7e0ea34a (diff)
parent1fa2f70f6ca8b5aa283aec260fde54e6edbaf005 (diff)
Merge GH #1092 Correct printing of UTF-8 strings in asn1print cli
-rw-r--r--src/cli/asn1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/asn1.cpp b/src/cli/asn1.cpp
index f24e2c316..1ed60258f 100644
--- a/src/cli/asn1.cpp
+++ b/src/cli/asn1.cpp
@@ -360,8 +360,8 @@ void decode(Botan::BER_Decoder& decoder, size_t level)
{
emit(type_name(type_tag), level, length,
Botan::Charset::transcode(str.iso_8859(),
- Botan::LATIN1_CHARSET,
- Botan::UTF8_CHARSET));
+ Botan::UTF8_CHARSET,
+ Botan::LATIN1_CHARSET));
}
else
{