diff options
author | lloyd <[email protected]> | 2006-06-25 07:44:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-25 07:44:19 +0000 |
commit | abdd958c0f4b1d880feec5e79230219005e43670 (patch) | |
tree | a16c34e8463d8c5f0f2b9af5e421d51ffd82476b /src/libstate.cpp | |
parent | 260f30df2ddf4a0148c3e16785af7cc78b722a70 (diff) |
Make Library_State::x509_state() non-const to support lazy initialiation.
Diffstat (limited to 'src/libstate.cpp')
-rw-r--r-- | src/libstate.cpp | 2 |
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(); |