aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_opt.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-02 14:30:29 +0000
committerlloyd <[email protected]>2006-07-02 14:30:29 +0000
commit58083678efb84913d8daeab20e37609966308826 (patch)
treec079ef17817b00791e80b6c639e0f7e38f0adaca /src/init_opt.cpp
parentc36e79af0a4df9f71189918040545146ebac365e (diff)
Respect the secure_memory config option
Diffstat (limited to 'src/init_opt.cpp')
-rw-r--r--src/init_opt.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/init_opt.cpp b/src/init_opt.cpp
index cce5f65f6..bfd7f075a 100644
--- a/src/init_opt.cpp
+++ b/src/init_opt.cpp
@@ -25,6 +25,14 @@ bool InitializerOptions::thread_safe() const
}
/*************************************************
+* Check if thread safety was requested *
+*************************************************/
+bool InitializerOptions::secure_memory() const
+ {
+ return boolean_arg("secure_memory");
+ }
+
+/*************************************************
* Check if using engines was requested *
*************************************************/
bool InitializerOptions::use_engines() const