aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-29 02:32:08 +0000
committerlloyd <[email protected]>2008-09-29 02:32:08 +0000
commit9e3118d4ded9af1f75ec0512fa9a6bc3725a6ae1 (patch)
treeb07370ecee2404bc5cf4cf82abf1ccf992dfa3a4 /src/core
parentbd27a130b13667feb26f3157d67d21f8ddb5986e (diff)
Hardcode use of Latin1 encoding if an encoding using ASN.1 DIRECTORY STRING
is encountered and the charaters will not fit into PRINTABLE STRING. Previously was toggle-able between Latin1 and UTF-8 via policy config. However does not seem worth the depencencies especially as AFAIK nobody has ever touched this setting. If its functionality turns out to be needed then something can be arranged later on.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/policy.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/policy.cpp b/src/core/policy.cpp
index f1c844017..606250690 100644
--- a/src/core/policy.cpp
+++ b/src/core/policy.cpp
@@ -221,7 +221,6 @@ void set_default_config(Library_State& config)
config.set_option("x509/ca/allow_ca", "false");
config.set_option("x509/ca/basic_constraints", "always");
config.set_option("x509/ca/rsa_hash", "SHA-1");
- config.set_option("x509/ca/str_type", "latin1");
config.set_option("x509/crl/unknown_critical", "ignore");
config.set_option("x509/crl/next_update", "7d");