aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509stor.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/x509stor.cpp
parentcf713b974185b2bb2a51dc7fc009658fcc2ff401 (diff)
Remove global_config() - replace by direct calls to global_state()
Diffstat (limited to 'src/x509stor.cpp')
-rw-r--r--src/x509stor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x509stor.cpp b/src/x509stor.cpp
index dcbc31942..6eb79286c 100644
--- a/src/x509stor.cpp
+++ b/src/x509stor.cpp
@@ -8,7 +8,7 @@
#include <botan/pubkey.h>
#include <botan/look_pk.h>
#include <botan/oids.h>
-#include <botan/config.h>
+#include <botan/libstate.h>
#include <botan/util.h>
#include <algorithm>
#include <memory>
@@ -173,10 +173,10 @@ X509_Store::X509_Store()
revoked_info_valid = true;
time_slack = timespec_to_u32bit(
- global_config().option("x509/validity_slack"));
+ global_state().option("x509/validity_slack"));
validation_cache_timeout = timespec_to_u32bit(
- global_config().option("x509/cache_verify_results"));
+ global_state().option("x509/cache_verify_results"));
}
/*************************************************