summaryrefslogtreecommitdiffstats
path: root/tdeio/kssl/kssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/kssl/kssl.h')
-rw-r--r--tdeio/kssl/kssl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tdeio/kssl/kssl.h b/tdeio/kssl/kssl.h
index e10b10eaf..37ee5017b 100644
--- a/tdeio/kssl/kssl.h
+++ b/tdeio/kssl/kssl.h
@@ -82,16 +82,15 @@ public:
bool TLSInit();
/**
- * Set an SSL session to use. This deep copies the session so it
- * doesn't have to remain valid. You need to call it after calling
- * initialize or reInitialize. The ID is cleared in close().
+ * Set an SSL session to use. This takes the session from the original
+ * KSSL object, so it is in fact a session move operation.
*
* @param session A valid session to reuse. If 0L, it will clear the
* session ID in memory.
*
* @return true on success
*/
- bool setSession(const KSSLSession *session);
+ bool takeSession(KSSLSession *session);
/**
* Close the SSL session.