X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=b8078770e5368c3840e0c6c91e3ff6267a7f7590;hb=e9ac00becb2aba5bbbf51b4803b81b10ed4d6788;hp=6c843e408c1bd91f722dec4ffed564cb67458537;hpb=6a7393e2abdcf30dd4201b84a417d08f6136e8d6;p=paraslash.git diff --git a/error.h b/error.h index 6c843e40..b8078770 100644 --- a/error.h +++ b/error.h @@ -383,6 +383,21 @@ extern const char **para_errlist[]; PARA_ERROR(BLINDING, "failed to activate key blinding"), \ PARA_ERROR(BIGNUM, "bignum error"), \ +#define GCRYPT_ERRORS \ + PARA_ERROR(MPI_SCAN, "could not scan multi-precision integer"), \ + PARA_ERROR(MPI_PRINT, "could not convert multi-precision integer"), \ + PARA_ERROR(SEXP_FIND, "could not find sublist in S-expression"), \ + PARA_ERROR(SEXP_BUILD, "could not build S-expression"), \ + PARA_ERROR(SEXP_ENCRYPT, "could not encrypt S-expression"), \ + PARA_ERROR(SEXP_DECRYPT, "could not decrypt S-expression"), \ + PARA_ERROR(MD_OPEN, "could not open message digest object"), \ + PARA_ERROR(CIPHER_OPEN, "could not create stream cipher handle"), \ + PARA_ERROR(BAD_PRIVATE_KEY, "invalid private key"), \ + PARA_ERROR(KEY_MARKER, "invalid/missing key header or footer"), \ + PARA_ERROR(ASN1_PARSE, "could not parse ASN.1 key"), \ + PARA_ERROR(SSH_PARSE, "could not parse ssh public key"), \ + PARA_ERROR(OEAP, "error during oeap (un)padding"), \ + #define COMMAND_ERRORS \ PARA_ERROR(COMMAND_SYNTAX, "syntax error in command"), \