diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/crypto.h | 1 | ||||
-rw-r--r-- | include/libssh/session.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h index 388a52b8..49e07ee8 100644 --- a/include/libssh/crypto.h +++ b/include/libssh/crypto.h @@ -65,6 +65,7 @@ struct ssh_crypto_struct { ssh_string dh_server_signature; /* information used by dh_handshake. */ size_t digest_len; /* len of all the fields below */ unsigned char *session_id; + unsigned char *secret_hash; /* Secret hash is same as session id until re-kex */ unsigned char *encryptIV; unsigned char *decryptIV; unsigned char *decryptkey; diff --git a/include/libssh/session.h b/include/libssh/session.h index 4bb0753b..97ff475d 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -66,6 +66,9 @@ enum ssh_pending_call_e { /* libssh calls may block an undefined amount of time */ #define SSH_SESSION_FLAG_BLOCKING 1 +/* Client successfully authenticated */ +#define SSH_SESSION_FLAG_AUTHENTICATED 2 + /* codes to use with ssh_handle_packets*() */ #define SSH_TIMEOUT_INFINITE -1 #define SSH_TIMEOUT_USER -2 |