From 7f973525f70fd23ee2dfa716624862e45e5ae96b Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 21 May 2018 14:03:44 +0800 Subject: parse_ssh{1,2}_packet C code --- src/protocol/internal/ssh_error.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/protocol/internal/ssh_error.h') 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 -- cgit v1.2.3