aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/name_constraint.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-09 16:43:57 -0500
committerJack Lloyd <[email protected]>2017-11-09 16:43:57 -0500
commitb08f26d3658db3213d98932cbc6dd3e6efdc8b85 (patch)
treec1cfb432aaa1625d6a1cfff7bf7487b75dcd0286 /src/lib/x509/name_constraint.cpp
parent54baf3a3d3ee070e3740859298f92d69b042c9c6 (diff)
Remove use of transcode
Diffstat (limited to 'src/lib/x509/name_constraint.cpp')
-rw-r--r--src/lib/x509/name_constraint.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/x509/name_constraint.cpp b/src/lib/x509/name_constraint.cpp
index e27dca9ec..e098bcd8d 100644
--- a/src/lib/x509/name_constraint.cpp
+++ b/src/lib/x509/name_constraint.cpp
@@ -7,7 +7,6 @@
#include <botan/name_constraint.h>
#include <botan/ber_dec.h>
-#include <botan/charset.h>
#include <botan/loadstor.h>
#include <botan/x509_dn.h>
#include <botan/x509cert.h>
@@ -49,7 +48,7 @@ void GeneralName::decode_from(class BER_Decoder& ber)
if(tag == 1 || tag == 2 || tag == 6)
{
- m_name = Charset::transcode(ASN1::to_string(obj), LATIN1_CHARSET, LOCAL_CHARSET);
+ m_name = ASN1::to_string(obj);
if(tag == 1)
{