1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

Sean Peterson's key re-exchange fix. See his long explanation on:

http://daniel.haxx.se/projects/libssh2/mail/libssh2-devel-archive-2008-06/0002.shtml
This commit is contained in:
Daniel Stenberg
2008-07-03 16:26:55 +00:00
parent 903307113e
commit 99afc66665
6 changed files with 475 additions and 3 deletions

View File

@@ -833,6 +833,7 @@ struct _LIBSSH2_SESSION
#define LIBSSH2_STATE_EXCHANGING_KEYS 0x00000001
#define LIBSSH2_STATE_NEWKEYS 0x00000002
#define LIBSSH2_STATE_AUTHENTICATED 0x00000004
#define LIBSSH2_STATE_KEX_ACTIVE 0x00000008
/* session.flag helpers */
#ifdef MSG_NOSIGNAL