aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_keys.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/pk_keys.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/pk_keys.cpp')
-rw-r--r--src/pk_keys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk_keys.cpp b/src/pk_keys.cpp
index fc8029f94..4a175e17c 100644
--- a/src/pk_keys.cpp
+++ b/src/pk_keys.cpp
@@ -16,7 +16,7 @@ namespace {
*************************************************/
bool key_check_level(const std::string& type)
{
- const std::string setting = Config::get_string("pk/test/" + type);
+ const std::string setting = global_config().option("pk/test/" + type);
if(setting == "basic")
return false;
return true;