lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved. |
| 3 | * |
| 4 | * Licensed under the OpenSSL license (the "License"). You may not use |
| 5 | * this file except in compliance with the License. You can obtain a copy |
| 6 | * in the file LICENSE in the source distribution or at |
| 7 | * https://www.openssl.org/source/license.html |
| 8 | */ |
| 9 | |
| 10 | #ifndef HEADER_SYMHACKS_H |
| 11 | # define HEADER_SYMHACKS_H |
| 12 | |
| 13 | # include <openssl/e_os2.h> |
| 14 | |
| 15 | /* Case insensitive linking causes problems.... */ |
| 16 | # if defined(OPENSSL_SYS_VMS) |
| 17 | # undef ERR_load_CRYPTO_strings |
| 18 | # define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings |
| 19 | # undef OCSP_crlID_new |
| 20 | # define OCSP_crlID_new OCSP_crlID2_new |
| 21 | |
| 22 | # undef d2i_ECPARAMETERS |
| 23 | # define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS |
| 24 | # undef i2d_ECPARAMETERS |
| 25 | # define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS |
| 26 | # undef d2i_ECPKPARAMETERS |
| 27 | # define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS |
| 28 | # undef i2d_ECPKPARAMETERS |
| 29 | # define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS |
| 30 | |
| 31 | /* This one clashes with CMS_data_create */ |
| 32 | # undef cms_Data_create |
| 33 | # define cms_Data_create priv_cms_Data_create |
| 34 | |
| 35 | # endif |
| 36 | |
| 37 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ |