aboutsummaryrefslogtreecommitdiffstats
path: root/src/dl_group.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/dl_group.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/dl_group.cpp')
-rw-r--r--src/dl_group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dl_group.cpp b/src/dl_group.cpp
index fffc64185..3ef9512f4 100644
--- a/src/dl_group.cpp
+++ b/src/dl_group.cpp
@@ -4,7 +4,7 @@
*************************************************/
#include <botan/dl_group.h>
-#include <botan/libstate.h>
+#include <botan/config.h>
#include <botan/parsing.h>
#include <botan/numthry.h>
#include <botan/der_enc.h>
@@ -28,7 +28,7 @@ DL_Group::DL_Group()
*************************************************/
DL_Group::DL_Group(const std::string& type)
{
- DataSource_Memory pem(global_state().get_option("dl", type));
+ DataSource_Memory pem(global_config().get("dl", type));
PEM_decode(pem);
}