williamr@2: /* ==================================================================== williamr@2: * Copyright (c) 1999 The OpenSSL Project. All rights reserved. williamr@2: * williamr@2: * Redistribution and use in source and binary forms, with or without williamr@2: * modification, are permitted provided that the following conditions williamr@2: * are met: williamr@2: * williamr@2: * 1. Redistributions of source code must retain the above copyright williamr@2: * notice, this list of conditions and the following disclaimer. williamr@2: * williamr@2: * 2. Redistributions in binary form must reproduce the above copyright williamr@2: * notice, this list of conditions and the following disclaimer in williamr@2: * the documentation and/or other materials provided with the williamr@2: * distribution. williamr@2: * williamr@2: * 3. All advertising materials mentioning features or use of this williamr@2: * software must display the following acknowledgment: williamr@2: * "This product includes software developed by the OpenSSL Project williamr@2: * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" williamr@2: * williamr@2: * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to williamr@2: * endorse or promote products derived from this software without williamr@2: * prior written permission. For written permission, please contact williamr@2: * openssl-core@openssl.org. williamr@2: * williamr@2: * 5. Products derived from this software may not be called "OpenSSL" williamr@2: * nor may "OpenSSL" appear in their names without prior written williamr@2: * permission of the OpenSSL Project. williamr@2: * williamr@2: * 6. Redistributions of any form whatsoever must retain the following williamr@2: * acknowledgment: williamr@2: * "This product includes software developed by the OpenSSL Project williamr@2: * for use in the OpenSSL Toolkit (http://www.openssl.org/)" williamr@2: * williamr@2: * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY williamr@2: * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE williamr@2: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR williamr@2: * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR williamr@2: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, williamr@2: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT williamr@2: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; williamr@2: * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) williamr@2: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, williamr@2: * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) williamr@2: * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED williamr@2: * OF THE POSSIBILITY OF SUCH DAMAGE. williamr@2: * ==================================================================== williamr@2: * williamr@2: * This product includes cryptographic software written by Eric Young williamr@2: * (eay@cryptsoft.com). This product includes software written by Tim williamr@2: * Hudson (tjh@cryptsoft.com). williamr@2: * williamr@2: */ williamr@2: williamr@2: #ifndef HEADER_SYMHACKS_H williamr@2: #define HEADER_SYMHACKS_H williamr@2: williamr@2: #if (defined(__SYMBIAN32__) && !defined(SYMBIAN)) williamr@2: #define SYMBIAN williamr@2: #endif williamr@2: williamr@2: #include williamr@2: williamr@2: /* Hacks to solve the problem with linkers incapable of handling very long williamr@2: symbol names. In the case of VMS, the limit is 31 characters on VMS for williamr@2: VAX. */ williamr@2: #ifdef OPENSSL_SYS_VMS williamr@2: williamr@2: /* Hack a long name in crypto/ex_data.c */ williamr@2: #undef CRYPTO_get_ex_data_implementation williamr@2: #define CRYPTO_get_ex_data_implementation CRYPTO_get_ex_data_impl williamr@2: #undef CRYPTO_set_ex_data_implementation williamr@2: #define CRYPTO_set_ex_data_implementation CRYPTO_set_ex_data_impl williamr@2: williamr@2: /* Hack a long name in crypto/asn1/a_mbstr.c */ williamr@2: #undef ASN1_STRING_set_default_mask_asc williamr@2: #define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc williamr@2: williamr@2: #if 0 /* No longer needed, since safestack macro magic does the job */ williamr@2: /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */ williamr@2: #undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO williamr@2: #define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF williamr@2: #undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO williamr@2: #define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF williamr@2: #endif williamr@2: williamr@2: #if 0 /* No longer needed, since safestack macro magic does the job */ williamr@2: /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */ williamr@2: #undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO williamr@2: #define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_RECINF williamr@2: #undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO williamr@2: #define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECINF williamr@2: #endif williamr@2: williamr@2: #if 0 /* No longer needed, since safestack macro magic does the job */ williamr@2: /* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */ williamr@2: #undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION williamr@2: #define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC williamr@2: #undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION williamr@2: #define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC williamr@2: #endif williamr@2: williamr@2: /* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */ williamr@2: #undef PEM_read_NETSCAPE_CERT_SEQUENCE williamr@2: #define PEM_read_NETSCAPE_CERT_SEQUENCE PEM_read_NS_CERT_SEQ williamr@2: #undef PEM_write_NETSCAPE_CERT_SEQUENCE williamr@2: #define PEM_write_NETSCAPE_CERT_SEQUENCE PEM_write_NS_CERT_SEQ williamr@2: #undef PEM_read_bio_NETSCAPE_CERT_SEQUENCE williamr@2: #define PEM_read_bio_NETSCAPE_CERT_SEQUENCE PEM_read_bio_NS_CERT_SEQ williamr@2: #undef PEM_write_bio_NETSCAPE_CERT_SEQUENCE williamr@2: #define PEM_write_bio_NETSCAPE_CERT_SEQUENCE PEM_write_bio_NS_CERT_SEQ williamr@2: #undef PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE williamr@2: #define PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE PEM_write_cb_bio_NS_CERT_SEQ williamr@2: williamr@2: /* Hack the names created with DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO) */ williamr@2: #undef PEM_read_PKCS8_PRIV_KEY_INFO williamr@2: #define PEM_read_PKCS8_PRIV_KEY_INFO PEM_read_P8_PRIV_KEY_INFO williamr@2: #undef PEM_write_PKCS8_PRIV_KEY_INFO williamr@2: #define PEM_write_PKCS8_PRIV_KEY_INFO PEM_write_P8_PRIV_KEY_INFO williamr@2: #undef PEM_read_bio_PKCS8_PRIV_KEY_INFO williamr@2: #define PEM_read_bio_PKCS8_PRIV_KEY_INFO PEM_read_bio_P8_PRIV_KEY_INFO williamr@2: #undef PEM_write_bio_PKCS8_PRIV_KEY_INFO williamr@2: #define PEM_write_bio_PKCS8_PRIV_KEY_INFO PEM_write_bio_P8_PRIV_KEY_INFO williamr@2: #undef PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO williamr@2: #define PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO PEM_wrt_cb_bio_P8_PRIV_KEY_INFO williamr@2: williamr@2: /* Hack other PEM names */ williamr@2: #undef PEM_write_bio_PKCS8PrivateKey_nid williamr@2: #define PEM_write_bio_PKCS8PrivateKey_nid PEM_write_bio_PKCS8PrivKey_nid williamr@2: williamr@2: /* Hack some long X509 names */ williamr@2: #undef X509_REVOKED_get_ext_by_critical williamr@2: #define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic williamr@2: #undef X509_policy_tree_get0_user_policies williamr@2: #define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies williamr@2: #undef X509_policy_node_get0_qualifiers williamr@2: #define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers williamr@2: #undef X509_STORE_CTX_get_explicit_policy williamr@2: #define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy williamr@2: williamr@2: /* Hack some long CRYPTO names */ williamr@2: #undef CRYPTO_set_dynlock_destroy_callback williamr@2: #define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb williamr@2: #undef CRYPTO_set_dynlock_create_callback williamr@2: #define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb williamr@2: #undef CRYPTO_set_dynlock_lock_callback williamr@2: #define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb williamr@2: #undef CRYPTO_get_dynlock_lock_callback williamr@2: #define CRYPTO_get_dynlock_lock_callback CRYPTO_get_dynlock_lock_cb williamr@2: #undef CRYPTO_get_dynlock_destroy_callback williamr@2: #define CRYPTO_get_dynlock_destroy_callback CRYPTO_get_dynlock_destroy_cb williamr@2: #undef CRYPTO_get_dynlock_create_callback williamr@2: #define CRYPTO_get_dynlock_create_callback CRYPTO_get_dynlock_create_cb williamr@2: #undef CRYPTO_set_locked_mem_ex_functions williamr@2: #define CRYPTO_set_locked_mem_ex_functions CRYPTO_set_locked_mem_ex_funcs williamr@2: #undef CRYPTO_get_locked_mem_ex_functions williamr@2: #define CRYPTO_get_locked_mem_ex_functions CRYPTO_get_locked_mem_ex_funcs williamr@2: williamr@2: /* Hack some long SSL names */ williamr@2: #undef SSL_CTX_set_default_verify_paths williamr@2: #define SSL_CTX_set_default_verify_paths SSL_CTX_set_def_verify_paths williamr@2: #undef SSL_get_ex_data_X509_STORE_CTX_idx williamr@2: #define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx williamr@2: #undef SSL_add_file_cert_subjects_to_stack williamr@2: #define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk williamr@2: #undef SSL_add_dir_cert_subjects_to_stack williamr@2: #define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk williamr@2: #undef SSL_CTX_use_certificate_chain_file williamr@2: #define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file williamr@2: #undef SSL_CTX_set_cert_verify_callback williamr@2: #define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb williamr@2: #undef SSL_CTX_set_default_passwd_cb_userdata williamr@2: #define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud williamr@2: #undef SSL_COMP_get_compression_methods williamr@2: #define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods williamr@2: williamr@2: /* Hack some long ENGINE names */ williamr@2: #undef ENGINE_get_default_BN_mod_exp_crt williamr@2: #define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt williamr@2: #undef ENGINE_set_default_BN_mod_exp_crt williamr@2: #define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt williamr@2: #undef ENGINE_set_load_privkey_function williamr@2: #define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn williamr@2: #undef ENGINE_get_load_privkey_function williamr@2: #define ENGINE_get_load_privkey_function ENGINE_get_load_privkey_fn williamr@2: williamr@2: /* Hack some long OCSP names */ williamr@2: #undef OCSP_REQUEST_get_ext_by_critical williamr@2: #define OCSP_REQUEST_get_ext_by_critical OCSP_REQUEST_get_ext_by_crit williamr@2: #undef OCSP_BASICRESP_get_ext_by_critical williamr@2: #define OCSP_BASICRESP_get_ext_by_critical OCSP_BASICRESP_get_ext_by_crit williamr@2: #undef OCSP_SINGLERESP_get_ext_by_critical williamr@2: #define OCSP_SINGLERESP_get_ext_by_critical OCSP_SINGLERESP_get_ext_by_crit williamr@2: williamr@2: /* Hack some long DES names */ williamr@2: #undef _ossl_old_des_ede3_cfb64_encrypt williamr@2: #define _ossl_old_des_ede3_cfb64_encrypt _ossl_odes_ede3_cfb64_encrypt williamr@2: #undef _ossl_old_des_ede3_ofb64_encrypt williamr@2: #define _ossl_old_des_ede3_ofb64_encrypt _ossl_odes_ede3_ofb64_encrypt williamr@2: williamr@2: /* Hack some long EVP names */ williamr@2: #undef OPENSSL_add_all_algorithms_noconf williamr@2: #define OPENSSL_add_all_algorithms_noconf OPENSSL_add_all_algo_noconf williamr@2: #undef OPENSSL_add_all_algorithms_conf williamr@2: #define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf williamr@2: williamr@2: /* Hack some long EC names */ williamr@2: #undef EC_GROUP_set_point_conversion_form williamr@2: #define EC_GROUP_set_point_conversion_form EC_GROUP_set_point_conv_form williamr@2: #undef EC_GROUP_get_point_conversion_form williamr@2: #define EC_GROUP_get_point_conversion_form EC_GROUP_get_point_conv_form williamr@2: #undef EC_GROUP_clear_free_all_extra_data williamr@2: #define EC_GROUP_clear_free_all_extra_data EC_GROUP_clr_free_all_xtra_data williamr@2: #undef EC_POINT_set_Jprojective_coordinates_GFp williamr@2: #define EC_POINT_set_Jprojective_coordinates_GFp \ williamr@2: EC_POINT_set_Jproj_coords_GFp williamr@2: #undef EC_POINT_get_Jprojective_coordinates_GFp williamr@2: #define EC_POINT_get_Jprojective_coordinates_GFp \ williamr@2: EC_POINT_get_Jproj_coords_GFp williamr@2: #undef EC_POINT_set_affine_coordinates_GFp williamr@2: #define EC_POINT_set_affine_coordinates_GFp EC_POINT_set_affine_coords_GFp williamr@2: #undef EC_POINT_get_affine_coordinates_GFp williamr@2: #define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp williamr@2: #undef EC_POINT_set_compressed_coordinates_GFp williamr@2: #define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp williamr@2: #undef EC_POINT_set_affine_coordinates_GF2m williamr@2: #define EC_POINT_set_affine_coordinates_GF2m EC_POINT_set_affine_coords_GF2m williamr@2: #undef EC_POINT_get_affine_coordinates_GF2m williamr@2: #define EC_POINT_get_affine_coordinates_GF2m EC_POINT_get_affine_coords_GF2m williamr@2: #undef EC_POINT_set_compressed_coordinates_GF2m williamr@2: #define EC_POINT_set_compressed_coordinates_GF2m \ williamr@2: EC_POINT_set_compr_coords_GF2m williamr@2: #undef ec_GF2m_simple_group_clear_finish williamr@2: #define ec_GF2m_simple_group_clear_finish ec_GF2m_simple_grp_clr_finish williamr@2: #undef ec_GF2m_simple_group_check_discriminant williamr@2: #define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim williamr@2: #undef ec_GF2m_simple_point_clear_finish williamr@2: #define ec_GF2m_simple_point_clear_finish ec_GF2m_simple_pt_clr_finish williamr@2: #undef ec_GF2m_simple_point_set_to_infinity williamr@2: #define ec_GF2m_simple_point_set_to_infinity ec_GF2m_simple_pt_set_to_inf williamr@2: #undef ec_GF2m_simple_points_make_affine williamr@2: #define ec_GF2m_simple_points_make_affine ec_GF2m_simple_pts_make_affine williamr@2: #undef ec_GF2m_simple_point_set_affine_coordinates williamr@2: #define ec_GF2m_simple_point_set_affine_coordinates \ williamr@2: ec_GF2m_smp_pt_set_af_coords williamr@2: #undef ec_GF2m_simple_point_get_affine_coordinates williamr@2: #define ec_GF2m_simple_point_get_affine_coordinates \ williamr@2: ec_GF2m_smp_pt_get_af_coords williamr@2: #undef ec_GF2m_simple_set_compressed_coordinates williamr@2: #define ec_GF2m_simple_set_compressed_coordinates \ williamr@2: ec_GF2m_smp_set_compr_coords williamr@2: #undef ec_GFp_simple_group_set_curve_GFp williamr@2: #define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp williamr@2: #undef ec_GFp_simple_group_get_curve_GFp williamr@2: #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp williamr@2: #undef ec_GFp_simple_group_clear_finish williamr@2: #define ec_GFp_simple_group_clear_finish ec_GFp_simple_grp_clear_finish williamr@2: #undef ec_GFp_simple_group_set_generator williamr@2: #define ec_GFp_simple_group_set_generator ec_GFp_simple_grp_set_generator williamr@2: #undef ec_GFp_simple_group_get0_generator williamr@2: #define ec_GFp_simple_group_get0_generator ec_GFp_simple_grp_gt0_generator williamr@2: #undef ec_GFp_simple_group_get_cofactor williamr@2: #define ec_GFp_simple_group_get_cofactor ec_GFp_simple_grp_get_cofactor williamr@2: #undef ec_GFp_simple_point_clear_finish williamr@2: #define ec_GFp_simple_point_clear_finish ec_GFp_simple_pt_clear_finish williamr@2: #undef ec_GFp_simple_point_set_to_infinity williamr@2: #define ec_GFp_simple_point_set_to_infinity ec_GFp_simple_pt_set_to_inf williamr@2: #undef ec_GFp_simple_points_make_affine williamr@2: #define ec_GFp_simple_points_make_affine ec_GFp_simple_pts_make_affine williamr@2: #undef ec_GFp_simple_group_get_curve_GFp williamr@2: #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp williamr@2: #undef ec_GFp_simple_set_Jprojective_coordinates_GFp williamr@2: #define ec_GFp_simple_set_Jprojective_coordinates_GFp \ williamr@2: ec_GFp_smp_set_Jproj_coords_GFp williamr@2: #undef ec_GFp_simple_get_Jprojective_coordinates_GFp williamr@2: #define ec_GFp_simple_get_Jprojective_coordinates_GFp \ williamr@2: ec_GFp_smp_get_Jproj_coords_GFp williamr@2: #undef ec_GFp_simple_point_set_affine_coordinates_GFp williamr@2: #define ec_GFp_simple_point_set_affine_coordinates_GFp \ williamr@2: ec_GFp_smp_pt_set_af_coords_GFp williamr@2: #undef ec_GFp_simple_point_get_affine_coordinates_GFp williamr@2: #define ec_GFp_simple_point_get_affine_coordinates_GFp \ williamr@2: ec_GFp_smp_pt_get_af_coords_GFp williamr@2: #undef ec_GFp_simple_set_compressed_coordinates_GFp williamr@2: #define ec_GFp_simple_set_compressed_coordinates_GFp \ williamr@2: ec_GFp_smp_set_compr_coords_GFp williamr@2: #undef ec_GFp_simple_point_set_affine_coordinates williamr@2: #define ec_GFp_simple_point_set_affine_coordinates \ williamr@2: ec_GFp_smp_pt_set_af_coords williamr@2: #undef ec_GFp_simple_point_get_affine_coordinates williamr@2: #define ec_GFp_simple_point_get_affine_coordinates \ williamr@2: ec_GFp_smp_pt_get_af_coords williamr@2: #undef ec_GFp_simple_set_compressed_coordinates williamr@2: #define ec_GFp_simple_set_compressed_coordinates \ williamr@2: ec_GFp_smp_set_compr_coords williamr@2: #undef ec_GFp_simple_group_check_discriminant williamr@2: #define ec_GFp_simple_group_check_discriminant ec_GFp_simple_grp_chk_discrim williamr@2: williamr@2: /* Hack som long STORE names */ williamr@2: #undef STORE_method_set_initialise_function williamr@2: #define STORE_method_set_initialise_function STORE_meth_set_initialise_fn williamr@2: #undef STORE_method_set_cleanup_function williamr@2: #define STORE_method_set_cleanup_function STORE_meth_set_cleanup_fn williamr@2: #undef STORE_method_set_generate_function williamr@2: #define STORE_method_set_generate_function STORE_meth_set_generate_fn williamr@2: #undef STORE_method_set_modify_function williamr@2: #define STORE_method_set_modify_function STORE_meth_set_modify_fn williamr@2: #undef STORE_method_set_revoke_function williamr@2: #define STORE_method_set_revoke_function STORE_meth_set_revoke_fn williamr@2: #undef STORE_method_set_delete_function williamr@2: #define STORE_method_set_delete_function STORE_meth_set_delete_fn williamr@2: #undef STORE_method_set_list_start_function williamr@2: #define STORE_method_set_list_start_function STORE_meth_set_list_start_fn williamr@2: #undef STORE_method_set_list_next_function williamr@2: #define STORE_method_set_list_next_function STORE_meth_set_list_next_fn williamr@2: #undef STORE_method_set_list_end_function williamr@2: #define STORE_method_set_list_end_function STORE_meth_set_list_end_fn williamr@2: #undef STORE_method_set_update_store_function williamr@2: #define STORE_method_set_update_store_function STORE_meth_set_update_store_fn williamr@2: #undef STORE_method_set_lock_store_function williamr@2: #define STORE_method_set_lock_store_function STORE_meth_set_lock_store_fn williamr@2: #undef STORE_method_set_unlock_store_function williamr@2: #define STORE_method_set_unlock_store_function STORE_meth_set_unlock_store_fn williamr@2: #undef STORE_method_get_initialise_function williamr@2: #define STORE_method_get_initialise_function STORE_meth_get_initialise_fn williamr@2: #undef STORE_method_get_cleanup_function williamr@2: #define STORE_method_get_cleanup_function STORE_meth_get_cleanup_fn williamr@2: #undef STORE_method_get_generate_function williamr@2: #define STORE_method_get_generate_function STORE_meth_get_generate_fn williamr@2: #undef STORE_method_get_modify_function williamr@2: #define STORE_method_get_modify_function STORE_meth_get_modify_fn williamr@2: #undef STORE_method_get_revoke_function williamr@2: #define STORE_method_get_revoke_function STORE_meth_get_revoke_fn williamr@2: #undef STORE_method_get_delete_function williamr@2: #define STORE_method_get_delete_function STORE_meth_get_delete_fn williamr@2: #undef STORE_method_get_list_start_function williamr@2: #define STORE_method_get_list_start_function STORE_meth_get_list_start_fn williamr@2: #undef STORE_method_get_list_next_function williamr@2: #define STORE_method_get_list_next_function STORE_meth_get_list_next_fn williamr@2: #undef STORE_method_get_list_end_function williamr@2: #define STORE_method_get_list_end_function STORE_meth_get_list_end_fn williamr@2: #undef STORE_method_get_update_store_function williamr@2: #define STORE_method_get_update_store_function STORE_meth_get_update_store_fn williamr@2: #undef STORE_method_get_lock_store_function williamr@2: #define STORE_method_get_lock_store_function STORE_meth_get_lock_store_fn williamr@2: #undef STORE_method_get_unlock_store_function williamr@2: #define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn williamr@2: williamr@2: #endif /* defined OPENSSL_SYS_VMS */ williamr@2: williamr@2: williamr@2: /* Case insensiteve linking causes problems.... */ williamr@2: #if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) williamr@2: #undef ERR_load_CRYPTO_strings williamr@2: #define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings williamr@2: #undef OCSP_crlID_new williamr@2: #define OCSP_crlID_new OCSP_crlID2_new williamr@2: williamr@2: #undef d2i_ECPARAMETERS williamr@2: #define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS williamr@2: #undef i2d_ECPARAMETERS williamr@2: #define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS williamr@2: #undef d2i_ECPKPARAMETERS williamr@2: #define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS williamr@2: #undef i2d_ECPKPARAMETERS williamr@2: #define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS williamr@2: williamr@2: /* These functions do not seem to exist! However, I'm paranoid... williamr@2: Original command in x509v3.h: williamr@2: These functions are being redefined in another directory, williamr@2: and clash when the linker is case-insensitive, so let's williamr@2: hide them a little, by giving them an extra 'o' at the williamr@2: beginning of the name... */ williamr@2: #undef X509v3_cleanup_extensions williamr@2: #define X509v3_cleanup_extensions oX509v3_cleanup_extensions williamr@2: #undef X509v3_add_extension williamr@2: #define X509v3_add_extension oX509v3_add_extension williamr@2: #undef X509v3_add_netscape_extensions williamr@2: #define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions williamr@2: #undef X509v3_add_standard_extensions williamr@2: #define X509v3_add_standard_extensions oX509v3_add_standard_extensions williamr@2: williamr@2: williamr@2: #endif williamr@2: williamr@2: williamr@2: #endif /* ! defined HEADER_VMS_IDHACKS_H */