OLD | NEW |
1 /* e_capi_err.c */ | 1 /* e_capi_err.c */ |
2 /* ==================================================================== | 2 /* ==================================================================== |
3 * Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved. | 3 * Copyright (c) 1999-2009 The OpenSSL Project. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
11 * | 11 * |
12 * 2. Redistributions in binary form must reproduce the above copyright | 12 * 2. Redistributions in binary form must reproduce the above copyright |
13 * notice, this list of conditions and the following disclaimer in | 13 * notice, this list of conditions and the following disclaimer in |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 CAPI_error_init=1; | 175 CAPI_error_init=1; |
176 } | 176 } |
177 } | 177 } |
178 | 178 |
179 static void ERR_CAPI_error(int function, int reason, char *file, int line) | 179 static void ERR_CAPI_error(int function, int reason, char *file, int line) |
180 { | 180 { |
181 if (CAPI_lib_error_code == 0) | 181 if (CAPI_lib_error_code == 0) |
182 CAPI_lib_error_code=ERR_get_next_error_library(); | 182 CAPI_lib_error_code=ERR_get_next_error_library(); |
183 ERR_PUT_error(CAPI_lib_error_code,function,reason,file,line); | 183 ERR_PUT_error(CAPI_lib_error_code,function,reason,file,line); |
184 } | 184 } |
OLD | NEW |