From a0a869029241b849ea989314bd0374b0ea948e4b Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Sat, 2 Jan 2016 22:58:34 +0300 Subject: [PATCH] New error code --- e_gost_err.c | 3 ++- e_gost_err.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/e_gost_err.c b/e_gost_err.c index 101f047..488e0e9 100644 --- a/e_gost_err.c +++ b/e_gost_err.c @@ -1,6 +1,6 @@ /* e_gost_err.c */ /* ==================================================================== - * Copyright (c) 1999-2015 The OpenSSL Project. All rights reserved. + * Copyright (c) 1999-2016 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -128,6 +128,7 @@ static ERR_STRING_DATA GOST_str_reasons[] = { {ERR_REASON(GOST_R_INVALID_IV_LENGTH), "invalid iv length"}, {ERR_REASON(GOST_R_INVALID_MAC_KEY_LENGTH), "invalid mac key length"}, {ERR_REASON(GOST_R_INVALID_MAC_KEY_SIZE), "invalid mac key size"}, + {ERR_REASON(GOST_R_INVALID_MAC_PARAMS), "invalid mac params"}, {ERR_REASON(GOST_R_INVALID_MAC_SIZE), "invalid mac size"}, {ERR_REASON(GOST_R_INVALID_PARAMSET), "invalid paramset"}, {ERR_REASON(GOST_R_KEY_IS_NOT_INITIALIZED), "key is not initialized"}, diff --git a/e_gost_err.h b/e_gost_err.h index b52811d..5a60008 100644 --- a/e_gost_err.h +++ b/e_gost_err.h @@ -121,6 +121,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line); # define GOST_R_INVALID_IV_LENGTH 112 # define GOST_R_INVALID_MAC_KEY_LENGTH 113 # define GOST_R_INVALID_MAC_KEY_SIZE 128 +# define GOST_R_INVALID_MAC_PARAMS 130 # define GOST_R_INVALID_MAC_SIZE 129 # define GOST_R_INVALID_PARAMSET 114 # define GOST_R_KEY_IS_NOT_INITIALIZED 115 -- 2.39.2