summaryrefslogtreecommitdiff
path: root/src/protocol/internal/ssh_error.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-05-21 14:03:44 +0800
committerIru Cai <mytbk920423@gmail.com>2018-05-21 16:46:38 +0800
commit7f973525f70fd23ee2dfa716624862e45e5ae96b (patch)
tree8ee01517a92a573cdb7e0ab0a3e15cb6d63c5d9a /src/protocol/internal/ssh_error.h
parentb44293b115bbe69033ab9c066d301e1f7aaf64cf (diff)
downloadfqterm-7f973525f70fd23ee2dfa716624862e45e5ae96b.tar.xz
parse_ssh{1,2}_packet C code
Diffstat (limited to 'src/protocol/internal/ssh_error.h')
-rw-r--r--src/protocol/internal/ssh_error.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/protocol/internal/ssh_error.h b/src/protocol/internal/ssh_error.h
index 1a0fd32..97d814d 100644
--- a/src/protocol/internal/ssh_error.h
+++ b/src/protocol/internal/ssh_error.h
@@ -2,9 +2,13 @@
#define SSH_ERROR_H
enum {
- ESECRET = 1,
- ERSA,
- ECRYPT,
+ ESECRET = 1, /* error comupting DH secret */
+ ERSA, /* RSA error */
+ ECRYPT, /* encrypt/decrypt error */
+ ETOOSMALL, /* buffer too small */
+ ETOOBIG, /* buffer too big */
+ ECRC32, /* CRC32 error */
+ EMAC, /* MAC error */
};
#endif