X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_capi_err.h;h=efa70010381d16b2685b24d8573beb09f3f207cc;hp=ad139cdea9bf16ad587e076697cec1e611ef66f5;hb=d3f6a5a01d1a6e2da1691572e4f455919eb183f2;hpb=01483c269ed1a70d6cb21893e5b4d3a4b072ba18 diff --git a/engines/e_capi_err.h b/engines/e_capi_err.h index ad139cdea9..efa7001038 100644 --- a/engines/e_capi_err.h +++ b/engines/e_capi_err.h @@ -55,6 +55,10 @@ #ifndef HEADER_CAPI_ERR_H #define HEADER_CAPI_ERR_H +#ifdef __cplusplus +extern "C" { +#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. @@ -116,7 +120,7 @@ static void ERR_CAPI_error(int function, int reason, char *file, int line); #define CAPI_R_UNSUPPORTED_ALGORITHM_NID 119 #define CAPI_R_UNSUPPORTED_PADDING 120 #define CAPI_R_UNSUPPORTED_PUBLIC_KEY_ALGORITHM 121 -#define CAPI_R_WIN32_ERROR 122 +#define CAPI_R_WIN32_ERROR 127 #ifdef __cplusplus }