summaryrefslogtreecommitdiff
path: root/src/protocol/internal/ssh_error.h
diff options
context:
space:
mode:
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