aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql/sql_plugin.c
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2015-04-23 09:41:12 +0200
committerTobias Brunner <tobias@strongswan.org>2015-05-04 18:07:51 +0200
commit8cdc563258db508ce7a848f63f68cbe37b4f40e0 (patch)
tree0dad5c55dc9f3ea7af733be8238f39a07f797c85 /src/libcharon/plugins/sql/sql_plugin.c
parenta8ca50e6358cf245806ebbf15e83039bd9daf085 (diff)
downloadstrongswan-8cdc563258db508ce7a848f63f68cbe37b4f40e0.tar.bz2
strongswan-8cdc563258db508ce7a848f63f68cbe37b4f40e0.tar.xz
charon-tkm: Reset stale nonce contexts
If the nonce generator detects a stale nonce upon destroy(), it resets the context in the TKM and releases associated resources in the ID manager and chunk map. Also, do not acquire the nonce context ID in tkm_nonceg_create function but rather when the nonce is actually created by get_nonce(). The nonces created with get_nonce must also be registered in the chunk map.
Diffstat (limited to 'src/libcharon/plugins/sql/sql_plugin.c')
0 files changed, 0 insertions, 0 deletions