From 3e84046f90b40e481d877a66d8ad8dc059b02731 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 28 May 2009 20:45:26 +0000 Subject: [PATCH] make errors --- engines/e_capi_err.c | 3 ++- engines/e_capi_err.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/e_capi_err.c b/engines/e_capi_err.c index 73bbaaa718..a1fbd04cb8 100644 --- a/engines/e_capi_err.c +++ b/engines/e_capi_err.c @@ -1,6 +1,6 @@ /* e_capi_err.c */ /* ==================================================================== - * Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved. + * Copyright (c) 1999-2009 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 @@ -122,6 +122,7 @@ static ERR_STRING_DATA CAPI_str_reasons[]= {ERR_REASON(CAPI_R_UNSUPPORTED_ALGORITHM_NID),"unsupported algorithm nid"}, {ERR_REASON(CAPI_R_UNSUPPORTED_PADDING) ,"unsupported padding"}, {ERR_REASON(CAPI_R_UNSUPPORTED_PUBLIC_KEY_ALGORITHM),"unsupported public key algorithm"}, +{ERR_REASON(CAPI_R_WIN32_ERROR) ,"win32 error"}, {0,NULL} }; diff --git a/engines/e_capi_err.h b/engines/e_capi_err.h index efdb751251..4c749ec43d 100644 --- a/engines/e_capi_err.h +++ b/engines/e_capi_err.h @@ -116,6 +116,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 127 #ifdef __cplusplus }