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