Blame include/openssl/symhacks.h

Packit c4476c
/*
Packit c4476c
 * Copyright 1999-2018 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
 *
Packit c4476c
 * Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
 * this file except in compliance with the License.  You can obtain a copy
Packit c4476c
 * in the file LICENSE in the source distribution or at
Packit c4476c
 * https://www.openssl.org/source/license.html
Packit c4476c
 */
Packit c4476c
Packit c4476c
#ifndef HEADER_SYMHACKS_H
Packit c4476c
# define HEADER_SYMHACKS_H
Packit c4476c
Packit c4476c
# include <openssl/e_os2.h>
Packit c4476c
Packit c4476c
/* Case insensitive linking causes problems.... */
Packit c4476c
# if defined(OPENSSL_SYS_VMS)
Packit c4476c
#  undef ERR_load_CRYPTO_strings
Packit c4476c
#  define ERR_load_CRYPTO_strings                 ERR_load_CRYPTOlib_strings
Packit c4476c
#  undef OCSP_crlID_new
Packit c4476c
#  define OCSP_crlID_new                          OCSP_crlID2_new
Packit c4476c
Packit c4476c
#  undef d2i_ECPARAMETERS
Packit c4476c
#  define d2i_ECPARAMETERS                        d2i_UC_ECPARAMETERS
Packit c4476c
#  undef i2d_ECPARAMETERS
Packit c4476c
#  define i2d_ECPARAMETERS                        i2d_UC_ECPARAMETERS
Packit c4476c
#  undef d2i_ECPKPARAMETERS
Packit c4476c
#  define d2i_ECPKPARAMETERS                      d2i_UC_ECPKPARAMETERS
Packit c4476c
#  undef i2d_ECPKPARAMETERS
Packit c4476c
#  define i2d_ECPKPARAMETERS                      i2d_UC_ECPKPARAMETERS
Packit c4476c
Packit c4476c
/* This one clashes with CMS_data_create */
Packit c4476c
#  undef cms_Data_create
Packit c4476c
#  define cms_Data_create                         priv_cms_Data_create
Packit c4476c
Packit c4476c
# endif
Packit c4476c
Packit c4476c
#endif                          /* ! defined HEADER_VMS_IDHACKS_H */