diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2018-09-19 14:12:56 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-10-09 11:45:58 +0200 |
commit | ddea46f890bd5d87669f23b26d676adedaa5f610 (patch) | |
tree | 640e2902ea628287529c16140dd1028804a998ec /include/libssh | |
parent | e5f0e711b05c2ec4c2d016a6abaedae2959ddba2 (diff) | |
download | libssh-ddea46f890bd5d87669f23b26d676adedaa5f610.tar.gz libssh-ddea46f890bd5d87669f23b26d676adedaa5f610.tar.xz libssh-ddea46f890bd5d87669f23b26d676adedaa5f610.zip |
CVE-2018-10933: Introduce SSH_AUTH_STATE_PASSWORD_AUTH_SENT
The introduced auth state allows to identify when authentication using
password was tried.
Fixes T101
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/auth.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/auth.h b/include/libssh/auth.h index 05754460..1fc00e20 100644 --- a/include/libssh/auth.h +++ b/include/libssh/auth.h @@ -94,6 +94,8 @@ enum ssh_auth_state_e { SSH_AUTH_STATE_PUBKEY_OFFER_SENT, /** We have sent pubkey and signature expecting to be authenticated */ SSH_AUTH_STATE_PUBKEY_AUTH_SENT, + /** We have sent a password expecting to be authenticated */ + SSH_AUTH_STATE_PASSWORD_AUTH_SENT, }; /** @internal |