aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_ext.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-01 21:09:54 +0000
committerlloyd <[email protected]>2006-07-01 21:09:54 +0000
commit6d3a4de1efcb6b04a1ab87037d487f979d7ca445 (patch)
tree02342b193a3808d2010b441480f65aa45a23dc92 /src/x509_ext.cpp
parent3d1d14cf405111e30643cf4c7674d441cc07a2e0 (diff)
Access the global configuration through an object reference instead
of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
Diffstat (limited to 'src/x509_ext.cpp')
-rw-r--r--src/x509_ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509_ext.cpp b/src/x509_ext.cpp
index ae5116024..f979f55ee 100644
--- a/src/x509_ext.cpp
+++ b/src/x509_ext.cpp
@@ -38,7 +38,7 @@ void Extensions::encode_into(DER_Encoder& to_object) const
std::string setting;
if(ext->config_id() != "")
- setting = Config::get_string("x509/exts/" + ext->config_id());
+ setting = global_config().option("x509/exts/" + ext->config_id());
if(setting == "")
setting = "yes";