X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=e_gost_err.h;h=d0f7d8943a07c6e86760b5b585e896384e716b28;hb=2abf012c4556cb1fa79803052a7115a38e09f716;hp=5a600081c7374b0624a9c1ba521bbb8070eb86fd;hpb=a0a869029241b849ea989314bd0374b0ea948e4b;p=openssl-gost%2Fengine.git diff --git a/e_gost_err.h b/e_gost_err.h index 5a60008..d0f7d89 100644 --- a/e_gost_err.h +++ b/e_gost_err.h @@ -53,20 +53,20 @@ */ #ifndef HEADER_GOST_ERR_H -#define HEADER_GOST_ERR_H +# define HEADER_GOST_ERR_H -#ifdef __cplusplus +# ifdef __cplusplus extern "C" { -#endif +# endif /* BEGIN ERROR CODES */ /* * The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. */ -void ERR_load_GOST_strings(void); -void ERR_unload_GOST_strings(void); -void ERR_GOST_error(int function, int reason, char *file, int line); + void ERR_load_GOST_strings(void); + void ERR_unload_GOST_strings(void); + void ERR_GOST_error(int function, int reason, char *file, int line); # define GOSTerr(f,r) ERR_GOST_error((f),(r),__FILE__,__LINE__) /* Error codes for the GOST functions. */ @@ -98,6 +98,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line); # define GOST_F_PKEY_GOST_MAC_CTRL 123 # define GOST_F_PKEY_GOST_MAC_CTRL_STR 124 # define GOST_F_PKEY_GOST_MAC_KEYGEN 125 +# define GOST_F_PKEY_GOST_MAC_SIGNCTX_INIT 132 # define GOST_F_PRINT_GOST_EC_PUB 126 # define GOST_F_PRIV_DECODE_GOST 127 # define GOST_F_PUB_DECODE_GOST_EC 128 @@ -138,7 +139,7 @@ void ERR_GOST_error(int function, int reason, char *file, int line); # define GOST_R_UNSUPPORTED_CIPHER_CTL_COMMAND 126 # define GOST_R_UNSUPPORTED_PARAMETER_SET 127 -#ifdef __cplusplus +# ifdef __cplusplus } -#endif +# endif #endif