diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-07-10 12:07:00 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-07-10 12:07:00 +0000 |
commit | 93dc00ccd160ef7f1864113ce00a9633ee2b1ee7 (patch) | |
tree | b1ded0308345c9d9e45c367653728ead3a75a07b /lib/gnutls_db.c | |
parent | 99e20f63fec3ce65ab5b1887a021e4d0ed9b22c8 (diff) | |
download | gnutls-93dc00ccd160ef7f1864113ce00a9633ee2b1ee7.tar.gz |
Now gnutls_deinit() removes abnormally terminated sessions. Added the _gnutls_deinit() function which has the behaviour of the older gnutls_deinit().
Diffstat (limited to 'lib/gnutls_db.c')
-rw-r--r-- | lib/gnutls_db.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/gnutls_db.c b/lib/gnutls_db.c index f3ef5f31c3..fd420595b5 100644 --- a/lib/gnutls_db.c +++ b/lib/gnutls_db.c @@ -317,13 +317,15 @@ int ret = 0; } /** - * gnutls_db_remove_session - This function will remove the current session data from the db + * gnutls_db_remove_session - This function will remove the current session data from the database * @state: is a &GNUTLS_STATE structure. * * This function will remove the current session data from the session * database. This will prevent future handshakes reusing these session * data. This function should be called if a session was terminated - * abnormaly. + * abnormaly, and before gnutls_deinit() is called. + * + * Normally gnutls_deinit() will remove abnormally terminated sessions. * **/ void gnutls_db_remove_session(GNUTLS_STATE state) { |