aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/policy.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-10 16:30:50 +0000
committerlloyd <[email protected]>2010-03-10 16:30:50 +0000
commitfd79f63a44ad0b59507ac67bdb3eccbe4d45adbc (patch)
tree2fc4ef1884d1d3dc18608b03ad4e675c68d0e137 /src/libstate/policy.cpp
parent66494f4d9db90d04d93874ee37e77a282dd71b07 (diff)
Remove config options to toggle if X.509 extensions are critical or
not. Instead provide via Extensions::add(). No way to modify behavior currently, it just follows the previous default police. Remove the config options from Library_State entirely. Die, mutable singletons, die.
Diffstat (limited to 'src/libstate/policy.cpp')
-rw-r--r--src/libstate/policy.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp
index 7202f8df6..803ca518e 100644
--- a/src/libstate/policy.cpp
+++ b/src/libstate/policy.cpp
@@ -280,21 +280,6 @@ void set_default_aliases(Library_State& config)
}
/*
-* Set the default configuration toggles
-*/
-void set_default_config(Library_State& config)
- {
- config.set_option("x509/exts/basic_constraints", "critical");
- config.set_option("x509/exts/subject_key_id", "yes");
- config.set_option("x509/exts/authority_key_id", "yes");
- config.set_option("x509/exts/subject_alternative_name", "yes");
- config.set_option("x509/exts/issuer_alternative_name", "no");
- config.set_option("x509/exts/key_usage", "critical");
- config.set_option("x509/exts/extended_key_usage", "yes");
- config.set_option("x509/exts/crl_number", "yes");
- }
-
-/*
* Set the built-in discrete log groups
*/
void set_default_dl_groups(Library_State& config)
@@ -810,7 +795,6 @@ void set_default_dl_groups(Library_State& config)
*/
void Library_State::load_default_config()
{
- set_default_config(*this);
set_default_aliases(*this);
set_default_oids(*this);
set_default_dl_groups(*this);