aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 07:44:19 +0000
committerlloyd <[email protected]>2006-06-25 07:44:19 +0000
commitabdd958c0f4b1d880feec5e79230219005e43670 (patch)
treea16c34e8463d8c5f0f2b9af5e421d51ffd82476b /src
parent260f30df2ddf4a0148c3e16785af7cc78b722a70 (diff)
Make Library_State::x509_state() non-const to support lazy initialiation.
Diffstat (limited to 'src')
-rw-r--r--src/libstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstate.cpp b/src/libstate.cpp
index 1438829f6..e27332025 100644
--- a/src/libstate.cpp
+++ b/src/libstate.cpp
@@ -306,7 +306,7 @@ void Library_State::set_x509_state(X509_GlobalState* new_x509_state_obj)
/*************************************************
* Set the X509 global state class *
*************************************************/
-X509_GlobalState& Library_State::x509_state() const
+X509_GlobalState& Library_State::x509_state()
{
if(!x509_state_obj)
x509_state_obj = new X509_GlobalState();