X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=e_gost_err.c;h=c6d221bfcf5601d35bce3e7149131721a1eb52ee;hb=624bf7d20c0d1258391bda222d16f099241ad1c1;hp=c71272e2c4fe09805f0e7c460f6576ba96c1125c;hpb=4dc691d1177ad328f34bee01128b3a8aa23b2547;p=openssl-gost%2Fengine.git diff --git a/e_gost_err.c b/e_gost_err.c index c71272e..c6d221b 100644 --- a/e_gost_err.c +++ b/e_gost_err.c @@ -141,6 +141,7 @@ static ERR_STRING_DATA GOST_str_reasons[] = { {ERR_PACK(0, 0, GOST_R_ERROR_SETTING_PEER_KEY), "error setting peer key"}, {ERR_PACK(0, 0, GOST_R_INCOMPATIBLE_ALGORITHMS), "incompatible algorithms"}, {ERR_PACK(0, 0, GOST_R_INCOMPATIBLE_PEER_KEY), "incompatible peer key"}, + {ERR_PACK(0, 0, GOST_R_INVALID_BUFFER_SIZE), "invalid buffer size"}, {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER), "invalid cipher"}, {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER_PARAMS), "invalid cipher params"}, {ERR_PACK(0, 0, GOST_R_INVALID_CIPHER_PARAM_OID), @@ -176,6 +177,7 @@ static ERR_STRING_DATA GOST_str_reasons[] = { #endif +#ifndef GOST_PROV static int lib_code = 0; static int error_loaded = 0; @@ -220,3 +222,4 @@ void ERR_GOST_error(int function, int reason, char *file, int line) ERR_set_debug(file, line, NULL); #endif } +#endif