aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_str.cpp
diff options
context:
space:
mode:
authorRene Meusel <[email protected]>2017-10-28 18:39:52 +0200
committerJack Lloyd <[email protected]>2017-11-09 16:05:17 -0500
commit2349f20fdb312a74b2705bf7f0e298be13e3d7a0 (patch)
tree4c542cef200334dabf814620d0049aa1c47f7751 /src/lib/asn1/asn1_str.cpp
parent6818b78851c930f2e6747c9a40187bec88720d7b (diff)
introduce UNIVERSAL_STRING (UCS-4)
Diffstat (limited to 'src/lib/asn1/asn1_str.cpp')
-rw-r--r--src/lib/asn1/asn1_str.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_str.cpp b/src/lib/asn1/asn1_str.cpp
index e6cb229a6..4e1d1d78d 100644
--- a/src/lib/asn1/asn1_str.cpp
+++ b/src/lib/asn1/asn1_str.cpp
@@ -73,7 +73,8 @@ ASN1_String::ASN1_String(const std::string& str, ASN1_Tag t) : m_utf8_str(str),
m_tag != T61_STRING &&
m_tag != IA5_STRING &&
m_tag != UTF8_STRING &&
- m_tag != BMP_STRING)
+ m_tag != BMP_STRING &&
+ m_tag != UNIVERSAL_STRING)
throw Invalid_Argument("ASN1_String: Unknown string type " +
std::to_string(m_tag));
}