aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-05-02 05:37:28 +0000
committerlloyd <[email protected]>2008-05-02 05:37:28 +0000
commit2088b737da27bf8bf035837ae4ea3e4f3c4b0bc0 (patch)
tree8a89b4a48847dedbfcedd5ecbb6e68dc5b29c8cb /src/config.cpp
parent250cb392d6bdd29adea28b0f9a5562a880656dca (diff)
Remove Config::option_as_time, instead call timespec_to_u32bit in
each caller.
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 0d4d459b6..6d2a4c90f 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -5,11 +5,8 @@
#include <botan/config.h>
#include <botan/libstate.h>
-#include <botan/lookup.h>
-#include <botan/charset.h>
-#include <botan/parsing.h>
-#include <botan/stl_util.h>
#include <botan/mutex.h>
+#include <botan/stl_util.h>
#include <string>
namespace Botan {
@@ -121,12 +118,4 @@ std::string Config::option(const std::string& key) const
return get("conf", key);
}
-/*************************************************
-* Get the config setting as a time *
-*************************************************/
-u32bit Config::option_as_time(const std::string& key) const
- {
- return timespec_to_u32bit(option(key));
- }
-
}