aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk_keys.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-30 02:11:06 +0000
committerlloyd <[email protected]>2008-06-30 02:11:06 +0000
commit449eba1b6026d1271aacd41b58c7459d46099566 (patch)
tree89d722f86da80147e2653d8f85c4eeaf33061288 /src/pk_keys.cpp
parentcf713b974185b2bb2a51dc7fc009658fcc2ff401 (diff)
Remove global_config() - replace by direct calls to global_state()
Diffstat (limited to 'src/pk_keys.cpp')
-rw-r--r--src/pk_keys.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pk_keys.cpp b/src/pk_keys.cpp
index c442b7555..d991f3788 100644
--- a/src/pk_keys.cpp
+++ b/src/pk_keys.cpp
@@ -4,7 +4,7 @@
*************************************************/
#include <botan/pk_keys.h>
-#include <botan/config.h>
+#include <botan/libstate.h>
#include <botan/oids.h>
namespace Botan {
@@ -16,7 +16,7 @@ namespace {
*************************************************/
bool key_check_level(const std::string& type)
{
- const std::string setting = global_config().option("pk/test/" + type);
+ const std::string setting = global_state().option("pk/test/" + type);
if(setting == "basic")
return false;
return true;