SKE: handle invalid protocol state errors
authorPekka Riikonen <priikone@silcnet.org>
Tue, 29 Apr 2014 07:56:24 +0000 (10:56 +0300)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 29 Apr 2014 07:56:24 +0000 (10:56 +0300)
commit0c5b4cf8af092fd6c3d3d4cd03efd299c7020cc1
tree662b35a097b99de27c2ecc23fc5fb6b6c8a72abb
parent79b406da2cc03883eb2da6c8c69ff2d7a9356df9
SKE: handle invalid protocol state errors

With SKE over UDP we can receive packets in wrong order or do
retransmissions but in TCP receiving wrong SKE packet at wrong time is
a protocol error and must result to end of the key exchange.
lib/silcske/silcske.c