diff options
author | milo <milo@r0ot.me> | 2010-08-08 22:44:12 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-08-09 20:53:03 +0200 |
commit | b0f8ca556bc2bb18b9177d13b802a5ce11204bd8 (patch) | |
tree | a0f49cb670ba9d42c72c471a751fe82dcde36577 /include | |
parent | e41e28744ff935fcd11a6b9739d6709d167f6cad (diff) | |
download | libssh-b0f8ca556bc2bb18b9177d13b802a5ce11204bd8.tar.gz libssh-b0f8ca556bc2bb18b9177d13b802a5ce11204bd8.tar.xz libssh-b0f8ca556bc2bb18b9177d13b802a5ce11204bd8.zip |
session: Fixed the type of the session dh_handshake_state.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/session.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h index 4de71b1..870a5a8 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -45,7 +45,7 @@ enum ssh_session_state_e { }; enum ssh_dh_state_e { - DH_STATE_INIT, + DH_STATE_INIT=0, DH_STATE_INIT_SENT, DH_STATE_NEWKEYS_SENT, DH_STATE_FINISHED @@ -87,7 +87,7 @@ struct ssh_session_struct { /* where it was before being interrupted */ enum ssh_session_state_e session_state; int packet_state; - int dh_handshake_state; + enum ssh_dh_state_e dh_handshake_state; enum ssh_auth_service_state_e auth_service_state; enum ssh_auth_state_e auth_state; enum ssh_channel_request_state_e global_req_state; |