aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-03-06 04:55:08 -0500
committerJack Lloyd <[email protected]>2016-03-06 04:55:08 -0500
commit21ff2c7fceb5fb233adb9607c0eb663eba182a6c (patch)
tree2f4d1fc2d06fa0014d73bc70047550099a9a17a2 /src/lib/cert
parent986628ac9e2a3dcda416c9676ebe9785da1378aa (diff)
Fix ordering of Charset::transcode arguments
GH #438
Diffstat (limited to 'src/lib/cert')
-rw-r--r--src/lib/cert/cvc/asn1_eac_str.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/cvc/asn1_eac_str.cpp b/src/lib/cert/cvc/asn1_eac_str.cpp
index 0134399d8..26bc7f09d 100644
--- a/src/lib/cert/cvc/asn1_eac_str.cpp
+++ b/src/lib/cert/cvc/asn1_eac_str.cpp
@@ -85,7 +85,7 @@ void ASN1_EAC_String::decode_from(BER_Decoder& source)
try
{
*this = ASN1_EAC_String(
- Charset::transcode(ASN1::to_string(obj), charset_is, LOCAL_CHARSET),
+ Charset::transcode(ASN1::to_string(obj), LOCAL_CHARSET, chaset_is),
obj.type_tag);
}
catch(Invalid_Argument& inv_arg)