Fix reference counting for key exchange handling.
authorKp <kp@valhallalegends.com>
Sat, 28 Jun 2008 05:28:25 +0000 (00:28 -0500)
committerKp <kp@valhallalegends.com>
Sun, 9 Nov 2008 07:06:38 +0000 (02:06 -0500)
commit77bf30377cb863783399080df4d99bb95495102a
treec98504a14bbb5c5c8369398b8fc8d0490fa60eb0
parent711fe01f210030b40ce0aeceb1c18526632ba5b8
Fix reference counting for key exchange handling.

When a key exchange times out, the SKE can be freed before the user
responds.  Switch the SKE callbacks to obtain their own reference to the
object to prevent this.
lib/silcske/silcske.c
lib/silcske/silcske_i.h