aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate.cpp')
-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();