From 2bd065dfbeea2ef8af19492c300899b2615224f8 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 15 Nov 2001 20:24:00 +0000 Subject: [PATCH] make update --- demos/engines/rsaref/rsaref_err.c | 3 +++ demos/engines/rsaref/rsaref_err.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/demos/engines/rsaref/rsaref_err.c b/demos/engines/rsaref/rsaref_err.c index 85e25508c6..ceaf05706d 100644 --- a/demos/engines/rsaref/rsaref_err.c +++ b/demos/engines/rsaref/rsaref_err.c @@ -67,6 +67,7 @@ static ERR_STRING_DATA RSAREF_str_functs[]= { {ERR_PACK(0,RSAREF_F_BNREF_MOD_EXP,0), "BNREF_MOD_EXP"}, +{ERR_PACK(0,RSAREF_F_CIPHER_DES_CBC_CODE,0), "CIPHER_DES_CBC_CODE"}, {ERR_PACK(0,RSAREF_F_RSAREF_BN2BIN,0), "RSAREF_BN2BIN"}, {ERR_PACK(0,RSAREF_F_RSAREF_MOD_EXP,0), "RSAREF_MOD_EXP"}, {ERR_PACK(0,RSAREF_F_RSAREF_PRIVATE_DECRYPT,0), "RSAREF_PRIVATE_DECRYPT"}, @@ -91,12 +92,14 @@ static ERR_STRING_DATA RSAREF_str_reasons[]= {RSAREF_R_KEY ,"key"}, {RSAREF_R_KEY_ENCODING ,"key encoding"}, {RSAREF_R_LEN ,"len"}, +{RSAREF_R_LENGTH_NOT_BLOCK_ALIGNED ,"length not block aligned"}, {RSAREF_R_MODULUS_LEN ,"modulus len"}, {RSAREF_R_NEED_RANDOM ,"need random"}, {RSAREF_R_PRIVATE_KEY ,"private key"}, {RSAREF_R_PUBLIC_KEY ,"public key"}, {RSAREF_R_SIGNATURE ,"signature"}, {RSAREF_R_SIGNATURE_ENCODING ,"signature encoding"}, +{RSAREF_R_UNKNOWN_FAULT ,"unknown fault"}, {0,NULL} }; diff --git a/demos/engines/rsaref/rsaref_err.h b/demos/engines/rsaref/rsaref_err.h index 423b3a8d6f..19759709b7 100644 --- a/demos/engines/rsaref/rsaref_err.h +++ b/demos/engines/rsaref/rsaref_err.h @@ -72,6 +72,7 @@ static void ERR_RSAREF_error(int function, int reason, char *file, int line); /* Function codes. */ #define RSAREF_F_BNREF_MOD_EXP 100 +#define RSAREF_F_CIPHER_DES_CBC_CODE 112 #define RSAREF_F_RSAREF_BN2BIN 101 #define RSAREF_F_RSAREF_MOD_EXP 102 #define RSAREF_F_RSAREF_PRIVATE_DECRYPT 103 @@ -93,12 +94,14 @@ static void ERR_RSAREF_error(int function, int reason, char *file, int line); #define RSAREF_R_KEY 105 #define RSAREF_R_KEY_ENCODING 106 #define RSAREF_R_LEN 107 +#define RSAREF_R_LENGTH_NOT_BLOCK_ALIGNED 114 #define RSAREF_R_MODULUS_LEN 108 #define RSAREF_R_NEED_RANDOM 109 #define RSAREF_R_PRIVATE_KEY 110 #define RSAREF_R_PUBLIC_KEY 111 #define RSAREF_R_SIGNATURE 112 #define RSAREF_R_SIGNATURE_ENCODING 113 +#define RSAREF_R_UNKNOWN_FAULT 115 #ifdef __cplusplus }