aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilippe Lieser <[email protected]>2022-02-25 14:40:14 +0100
committerPhilippe Lieser <[email protected]>2022-02-25 14:40:14 +0100
commita4eaa460ce41cd21d662b9e6256942e91843b673 (patch)
tree0917785dbe7f7682c842ff23238db14daeceefe4 /src
parenta19627a2b76e7f1b9b7e19fbaf2ef464ac220ce6 (diff)
Remove duplicated chars from allowed chars in ASN1_Type::PrintableString
Diffstat (limited to 'src')
-rw-r--r--src/lib/asn1/asn1_str.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_str.cpp b/src/lib/asn1/asn1_str.cpp
index 0c92e449e..763c3abf7 100644
--- a/src/lib/asn1/asn1_str.cpp
+++ b/src/lib/asn1/asn1_str.cpp
@@ -31,7 +31,7 @@ ASN1_Type choose_encoding(const std::string& str)
auto is_decimal = CT::Mask<uint8_t>::is_within_range(c, '0', '9');
auto is_print_punc = CT::Mask<uint8_t>::is_any_of(c, {
- ' ', '(', ')', '+', ',', '=', ',', '-', '.', '/',
+ ' ', '(', ')', '+', ',', '-', '.', '/',
':', '=', '?'});
auto is_printable = is_alpha_lower | is_alpha_upper | is_decimal | is_print_punc;