Merge remote-tracking branch 'trevp/pemfix' into trev-pem-fix
[openssl.git] / engines / e_capi_err.h
index ad139cdea9bf16ad587e076697cec1e611ef66f5..efa70010381d16b2685b24d8573beb09f3f207cc 100644 (file)
 #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
 }