1.1 --- a/epoc32/include/stdapis/openssl/symhacks.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/openssl/symhacks.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,387 @@
1.4 -symhacks.h
1.5 +/* ====================================================================
1.6 + * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
1.7 + *
1.8 + * Redistribution and use in source and binary forms, with or without
1.9 + * modification, are permitted provided that the following conditions
1.10 + * are met:
1.11 + *
1.12 + * 1. Redistributions of source code must retain the above copyright
1.13 + * notice, this list of conditions and the following disclaimer.
1.14 + *
1.15 + * 2. Redistributions in binary form must reproduce the above copyright
1.16 + * notice, this list of conditions and the following disclaimer in
1.17 + * the documentation and/or other materials provided with the
1.18 + * distribution.
1.19 + *
1.20 + * 3. All advertising materials mentioning features or use of this
1.21 + * software must display the following acknowledgment:
1.22 + * "This product includes software developed by the OpenSSL Project
1.23 + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
1.24 + *
1.25 + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
1.26 + * endorse or promote products derived from this software without
1.27 + * prior written permission. For written permission, please contact
1.28 + * openssl-core@openssl.org.
1.29 + *
1.30 + * 5. Products derived from this software may not be called "OpenSSL"
1.31 + * nor may "OpenSSL" appear in their names without prior written
1.32 + * permission of the OpenSSL Project.
1.33 + *
1.34 + * 6. Redistributions of any form whatsoever must retain the following
1.35 + * acknowledgment:
1.36 + * "This product includes software developed by the OpenSSL Project
1.37 + * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
1.38 + *
1.39 + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
1.40 + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1.41 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1.42 + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
1.43 + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1.44 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1.45 + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1.46 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1.47 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1.48 + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1.49 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1.50 + * OF THE POSSIBILITY OF SUCH DAMAGE.
1.51 + * ====================================================================
1.52 + *
1.53 + * This product includes cryptographic software written by Eric Young
1.54 + * (eay@cryptsoft.com). This product includes software written by Tim
1.55 + * Hudson (tjh@cryptsoft.com).
1.56 + *
1.57 + */
1.58 +
1.59 +#ifndef HEADER_SYMHACKS_H
1.60 +#define HEADER_SYMHACKS_H
1.61 +
1.62 +#if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
1.63 +#define SYMBIAN
1.64 +#endif
1.65 +
1.66 +#include <openssl/e_os2.h>
1.67 +
1.68 +/* Hacks to solve the problem with linkers incapable of handling very long
1.69 + symbol names. In the case of VMS, the limit is 31 characters on VMS for
1.70 + VAX. */
1.71 +#ifdef OPENSSL_SYS_VMS
1.72 +
1.73 +/* Hack a long name in crypto/ex_data.c */
1.74 +#undef CRYPTO_get_ex_data_implementation
1.75 +#define CRYPTO_get_ex_data_implementation CRYPTO_get_ex_data_impl
1.76 +#undef CRYPTO_set_ex_data_implementation
1.77 +#define CRYPTO_set_ex_data_implementation CRYPTO_set_ex_data_impl
1.78 +
1.79 +/* Hack a long name in crypto/asn1/a_mbstr.c */
1.80 +#undef ASN1_STRING_set_default_mask_asc
1.81 +#define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc
1.82 +
1.83 +#if 0 /* No longer needed, since safestack macro magic does the job */
1.84 +/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */
1.85 +#undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO
1.86 +#define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF
1.87 +#undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO
1.88 +#define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF
1.89 +#endif
1.90 +
1.91 +#if 0 /* No longer needed, since safestack macro magic does the job */
1.92 +/* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */
1.93 +#undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO
1.94 +#define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_RECINF
1.95 +#undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO
1.96 +#define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECINF
1.97 +#endif
1.98 +
1.99 +#if 0 /* No longer needed, since safestack macro magic does the job */
1.100 +/* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */
1.101 +#undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION
1.102 +#define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC
1.103 +#undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION
1.104 +#define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC
1.105 +#endif
1.106 +
1.107 +/* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */
1.108 +#undef PEM_read_NETSCAPE_CERT_SEQUENCE
1.109 +#define PEM_read_NETSCAPE_CERT_SEQUENCE PEM_read_NS_CERT_SEQ
1.110 +#undef PEM_write_NETSCAPE_CERT_SEQUENCE
1.111 +#define PEM_write_NETSCAPE_CERT_SEQUENCE PEM_write_NS_CERT_SEQ
1.112 +#undef PEM_read_bio_NETSCAPE_CERT_SEQUENCE
1.113 +#define PEM_read_bio_NETSCAPE_CERT_SEQUENCE PEM_read_bio_NS_CERT_SEQ
1.114 +#undef PEM_write_bio_NETSCAPE_CERT_SEQUENCE
1.115 +#define PEM_write_bio_NETSCAPE_CERT_SEQUENCE PEM_write_bio_NS_CERT_SEQ
1.116 +#undef PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE
1.117 +#define PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE PEM_write_cb_bio_NS_CERT_SEQ
1.118 +
1.119 +/* Hack the names created with DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO) */
1.120 +#undef PEM_read_PKCS8_PRIV_KEY_INFO
1.121 +#define PEM_read_PKCS8_PRIV_KEY_INFO PEM_read_P8_PRIV_KEY_INFO
1.122 +#undef PEM_write_PKCS8_PRIV_KEY_INFO
1.123 +#define PEM_write_PKCS8_PRIV_KEY_INFO PEM_write_P8_PRIV_KEY_INFO
1.124 +#undef PEM_read_bio_PKCS8_PRIV_KEY_INFO
1.125 +#define PEM_read_bio_PKCS8_PRIV_KEY_INFO PEM_read_bio_P8_PRIV_KEY_INFO
1.126 +#undef PEM_write_bio_PKCS8_PRIV_KEY_INFO
1.127 +#define PEM_write_bio_PKCS8_PRIV_KEY_INFO PEM_write_bio_P8_PRIV_KEY_INFO
1.128 +#undef PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO
1.129 +#define PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO PEM_wrt_cb_bio_P8_PRIV_KEY_INFO
1.130 +
1.131 +/* Hack other PEM names */
1.132 +#undef PEM_write_bio_PKCS8PrivateKey_nid
1.133 +#define PEM_write_bio_PKCS8PrivateKey_nid PEM_write_bio_PKCS8PrivKey_nid
1.134 +
1.135 +/* Hack some long X509 names */
1.136 +#undef X509_REVOKED_get_ext_by_critical
1.137 +#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic
1.138 +#undef X509_policy_tree_get0_user_policies
1.139 +#define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies
1.140 +#undef X509_policy_node_get0_qualifiers
1.141 +#define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers
1.142 +#undef X509_STORE_CTX_get_explicit_policy
1.143 +#define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy
1.144 +
1.145 +/* Hack some long CRYPTO names */
1.146 +#undef CRYPTO_set_dynlock_destroy_callback
1.147 +#define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb
1.148 +#undef CRYPTO_set_dynlock_create_callback
1.149 +#define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb
1.150 +#undef CRYPTO_set_dynlock_lock_callback
1.151 +#define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb
1.152 +#undef CRYPTO_get_dynlock_lock_callback
1.153 +#define CRYPTO_get_dynlock_lock_callback CRYPTO_get_dynlock_lock_cb
1.154 +#undef CRYPTO_get_dynlock_destroy_callback
1.155 +#define CRYPTO_get_dynlock_destroy_callback CRYPTO_get_dynlock_destroy_cb
1.156 +#undef CRYPTO_get_dynlock_create_callback
1.157 +#define CRYPTO_get_dynlock_create_callback CRYPTO_get_dynlock_create_cb
1.158 +#undef CRYPTO_set_locked_mem_ex_functions
1.159 +#define CRYPTO_set_locked_mem_ex_functions CRYPTO_set_locked_mem_ex_funcs
1.160 +#undef CRYPTO_get_locked_mem_ex_functions
1.161 +#define CRYPTO_get_locked_mem_ex_functions CRYPTO_get_locked_mem_ex_funcs
1.162 +
1.163 +/* Hack some long SSL names */
1.164 +#undef SSL_CTX_set_default_verify_paths
1.165 +#define SSL_CTX_set_default_verify_paths SSL_CTX_set_def_verify_paths
1.166 +#undef SSL_get_ex_data_X509_STORE_CTX_idx
1.167 +#define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx
1.168 +#undef SSL_add_file_cert_subjects_to_stack
1.169 +#define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk
1.170 +#undef SSL_add_dir_cert_subjects_to_stack
1.171 +#define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk
1.172 +#undef SSL_CTX_use_certificate_chain_file
1.173 +#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file
1.174 +#undef SSL_CTX_set_cert_verify_callback
1.175 +#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb
1.176 +#undef SSL_CTX_set_default_passwd_cb_userdata
1.177 +#define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud
1.178 +#undef SSL_COMP_get_compression_methods
1.179 +#define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods
1.180 +
1.181 +/* Hack some long ENGINE names */
1.182 +#undef ENGINE_get_default_BN_mod_exp_crt
1.183 +#define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt
1.184 +#undef ENGINE_set_default_BN_mod_exp_crt
1.185 +#define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt
1.186 +#undef ENGINE_set_load_privkey_function
1.187 +#define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn
1.188 +#undef ENGINE_get_load_privkey_function
1.189 +#define ENGINE_get_load_privkey_function ENGINE_get_load_privkey_fn
1.190 +
1.191 +/* Hack some long OCSP names */
1.192 +#undef OCSP_REQUEST_get_ext_by_critical
1.193 +#define OCSP_REQUEST_get_ext_by_critical OCSP_REQUEST_get_ext_by_crit
1.194 +#undef OCSP_BASICRESP_get_ext_by_critical
1.195 +#define OCSP_BASICRESP_get_ext_by_critical OCSP_BASICRESP_get_ext_by_crit
1.196 +#undef OCSP_SINGLERESP_get_ext_by_critical
1.197 +#define OCSP_SINGLERESP_get_ext_by_critical OCSP_SINGLERESP_get_ext_by_crit
1.198 +
1.199 +/* Hack some long DES names */
1.200 +#undef _ossl_old_des_ede3_cfb64_encrypt
1.201 +#define _ossl_old_des_ede3_cfb64_encrypt _ossl_odes_ede3_cfb64_encrypt
1.202 +#undef _ossl_old_des_ede3_ofb64_encrypt
1.203 +#define _ossl_old_des_ede3_ofb64_encrypt _ossl_odes_ede3_ofb64_encrypt
1.204 +
1.205 +/* Hack some long EVP names */
1.206 +#undef OPENSSL_add_all_algorithms_noconf
1.207 +#define OPENSSL_add_all_algorithms_noconf OPENSSL_add_all_algo_noconf
1.208 +#undef OPENSSL_add_all_algorithms_conf
1.209 +#define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf
1.210 +
1.211 +/* Hack some long EC names */
1.212 +#undef EC_GROUP_set_point_conversion_form
1.213 +#define EC_GROUP_set_point_conversion_form EC_GROUP_set_point_conv_form
1.214 +#undef EC_GROUP_get_point_conversion_form
1.215 +#define EC_GROUP_get_point_conversion_form EC_GROUP_get_point_conv_form
1.216 +#undef EC_GROUP_clear_free_all_extra_data
1.217 +#define EC_GROUP_clear_free_all_extra_data EC_GROUP_clr_free_all_xtra_data
1.218 +#undef EC_POINT_set_Jprojective_coordinates_GFp
1.219 +#define EC_POINT_set_Jprojective_coordinates_GFp \
1.220 + EC_POINT_set_Jproj_coords_GFp
1.221 +#undef EC_POINT_get_Jprojective_coordinates_GFp
1.222 +#define EC_POINT_get_Jprojective_coordinates_GFp \
1.223 + EC_POINT_get_Jproj_coords_GFp
1.224 +#undef EC_POINT_set_affine_coordinates_GFp
1.225 +#define EC_POINT_set_affine_coordinates_GFp EC_POINT_set_affine_coords_GFp
1.226 +#undef EC_POINT_get_affine_coordinates_GFp
1.227 +#define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp
1.228 +#undef EC_POINT_set_compressed_coordinates_GFp
1.229 +#define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp
1.230 +#undef EC_POINT_set_affine_coordinates_GF2m
1.231 +#define EC_POINT_set_affine_coordinates_GF2m EC_POINT_set_affine_coords_GF2m
1.232 +#undef EC_POINT_get_affine_coordinates_GF2m
1.233 +#define EC_POINT_get_affine_coordinates_GF2m EC_POINT_get_affine_coords_GF2m
1.234 +#undef EC_POINT_set_compressed_coordinates_GF2m
1.235 +#define EC_POINT_set_compressed_coordinates_GF2m \
1.236 + EC_POINT_set_compr_coords_GF2m
1.237 +#undef ec_GF2m_simple_group_clear_finish
1.238 +#define ec_GF2m_simple_group_clear_finish ec_GF2m_simple_grp_clr_finish
1.239 +#undef ec_GF2m_simple_group_check_discriminant
1.240 +#define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim
1.241 +#undef ec_GF2m_simple_point_clear_finish
1.242 +#define ec_GF2m_simple_point_clear_finish ec_GF2m_simple_pt_clr_finish
1.243 +#undef ec_GF2m_simple_point_set_to_infinity
1.244 +#define ec_GF2m_simple_point_set_to_infinity ec_GF2m_simple_pt_set_to_inf
1.245 +#undef ec_GF2m_simple_points_make_affine
1.246 +#define ec_GF2m_simple_points_make_affine ec_GF2m_simple_pts_make_affine
1.247 +#undef ec_GF2m_simple_point_set_affine_coordinates
1.248 +#define ec_GF2m_simple_point_set_affine_coordinates \
1.249 + ec_GF2m_smp_pt_set_af_coords
1.250 +#undef ec_GF2m_simple_point_get_affine_coordinates
1.251 +#define ec_GF2m_simple_point_get_affine_coordinates \
1.252 + ec_GF2m_smp_pt_get_af_coords
1.253 +#undef ec_GF2m_simple_set_compressed_coordinates
1.254 +#define ec_GF2m_simple_set_compressed_coordinates \
1.255 + ec_GF2m_smp_set_compr_coords
1.256 +#undef ec_GFp_simple_group_set_curve_GFp
1.257 +#define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp
1.258 +#undef ec_GFp_simple_group_get_curve_GFp
1.259 +#define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp
1.260 +#undef ec_GFp_simple_group_clear_finish
1.261 +#define ec_GFp_simple_group_clear_finish ec_GFp_simple_grp_clear_finish
1.262 +#undef ec_GFp_simple_group_set_generator
1.263 +#define ec_GFp_simple_group_set_generator ec_GFp_simple_grp_set_generator
1.264 +#undef ec_GFp_simple_group_get0_generator
1.265 +#define ec_GFp_simple_group_get0_generator ec_GFp_simple_grp_gt0_generator
1.266 +#undef ec_GFp_simple_group_get_cofactor
1.267 +#define ec_GFp_simple_group_get_cofactor ec_GFp_simple_grp_get_cofactor
1.268 +#undef ec_GFp_simple_point_clear_finish
1.269 +#define ec_GFp_simple_point_clear_finish ec_GFp_simple_pt_clear_finish
1.270 +#undef ec_GFp_simple_point_set_to_infinity
1.271 +#define ec_GFp_simple_point_set_to_infinity ec_GFp_simple_pt_set_to_inf
1.272 +#undef ec_GFp_simple_points_make_affine
1.273 +#define ec_GFp_simple_points_make_affine ec_GFp_simple_pts_make_affine
1.274 +#undef ec_GFp_simple_group_get_curve_GFp
1.275 +#define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp
1.276 +#undef ec_GFp_simple_set_Jprojective_coordinates_GFp
1.277 +#define ec_GFp_simple_set_Jprojective_coordinates_GFp \
1.278 + ec_GFp_smp_set_Jproj_coords_GFp
1.279 +#undef ec_GFp_simple_get_Jprojective_coordinates_GFp
1.280 +#define ec_GFp_simple_get_Jprojective_coordinates_GFp \
1.281 + ec_GFp_smp_get_Jproj_coords_GFp
1.282 +#undef ec_GFp_simple_point_set_affine_coordinates_GFp
1.283 +#define ec_GFp_simple_point_set_affine_coordinates_GFp \
1.284 + ec_GFp_smp_pt_set_af_coords_GFp
1.285 +#undef ec_GFp_simple_point_get_affine_coordinates_GFp
1.286 +#define ec_GFp_simple_point_get_affine_coordinates_GFp \
1.287 + ec_GFp_smp_pt_get_af_coords_GFp
1.288 +#undef ec_GFp_simple_set_compressed_coordinates_GFp
1.289 +#define ec_GFp_simple_set_compressed_coordinates_GFp \
1.290 + ec_GFp_smp_set_compr_coords_GFp
1.291 +#undef ec_GFp_simple_point_set_affine_coordinates
1.292 +#define ec_GFp_simple_point_set_affine_coordinates \
1.293 + ec_GFp_smp_pt_set_af_coords
1.294 +#undef ec_GFp_simple_point_get_affine_coordinates
1.295 +#define ec_GFp_simple_point_get_affine_coordinates \
1.296 + ec_GFp_smp_pt_get_af_coords
1.297 +#undef ec_GFp_simple_set_compressed_coordinates
1.298 +#define ec_GFp_simple_set_compressed_coordinates \
1.299 + ec_GFp_smp_set_compr_coords
1.300 +#undef ec_GFp_simple_group_check_discriminant
1.301 +#define ec_GFp_simple_group_check_discriminant ec_GFp_simple_grp_chk_discrim
1.302 +
1.303 +/* Hack som long STORE names */
1.304 +#undef STORE_method_set_initialise_function
1.305 +#define STORE_method_set_initialise_function STORE_meth_set_initialise_fn
1.306 +#undef STORE_method_set_cleanup_function
1.307 +#define STORE_method_set_cleanup_function STORE_meth_set_cleanup_fn
1.308 +#undef STORE_method_set_generate_function
1.309 +#define STORE_method_set_generate_function STORE_meth_set_generate_fn
1.310 +#undef STORE_method_set_modify_function
1.311 +#define STORE_method_set_modify_function STORE_meth_set_modify_fn
1.312 +#undef STORE_method_set_revoke_function
1.313 +#define STORE_method_set_revoke_function STORE_meth_set_revoke_fn
1.314 +#undef STORE_method_set_delete_function
1.315 +#define STORE_method_set_delete_function STORE_meth_set_delete_fn
1.316 +#undef STORE_method_set_list_start_function
1.317 +#define STORE_method_set_list_start_function STORE_meth_set_list_start_fn
1.318 +#undef STORE_method_set_list_next_function
1.319 +#define STORE_method_set_list_next_function STORE_meth_set_list_next_fn
1.320 +#undef STORE_method_set_list_end_function
1.321 +#define STORE_method_set_list_end_function STORE_meth_set_list_end_fn
1.322 +#undef STORE_method_set_update_store_function
1.323 +#define STORE_method_set_update_store_function STORE_meth_set_update_store_fn
1.324 +#undef STORE_method_set_lock_store_function
1.325 +#define STORE_method_set_lock_store_function STORE_meth_set_lock_store_fn
1.326 +#undef STORE_method_set_unlock_store_function
1.327 +#define STORE_method_set_unlock_store_function STORE_meth_set_unlock_store_fn
1.328 +#undef STORE_method_get_initialise_function
1.329 +#define STORE_method_get_initialise_function STORE_meth_get_initialise_fn
1.330 +#undef STORE_method_get_cleanup_function
1.331 +#define STORE_method_get_cleanup_function STORE_meth_get_cleanup_fn
1.332 +#undef STORE_method_get_generate_function
1.333 +#define STORE_method_get_generate_function STORE_meth_get_generate_fn
1.334 +#undef STORE_method_get_modify_function
1.335 +#define STORE_method_get_modify_function STORE_meth_get_modify_fn
1.336 +#undef STORE_method_get_revoke_function
1.337 +#define STORE_method_get_revoke_function STORE_meth_get_revoke_fn
1.338 +#undef STORE_method_get_delete_function
1.339 +#define STORE_method_get_delete_function STORE_meth_get_delete_fn
1.340 +#undef STORE_method_get_list_start_function
1.341 +#define STORE_method_get_list_start_function STORE_meth_get_list_start_fn
1.342 +#undef STORE_method_get_list_next_function
1.343 +#define STORE_method_get_list_next_function STORE_meth_get_list_next_fn
1.344 +#undef STORE_method_get_list_end_function
1.345 +#define STORE_method_get_list_end_function STORE_meth_get_list_end_fn
1.346 +#undef STORE_method_get_update_store_function
1.347 +#define STORE_method_get_update_store_function STORE_meth_get_update_store_fn
1.348 +#undef STORE_method_get_lock_store_function
1.349 +#define STORE_method_get_lock_store_function STORE_meth_get_lock_store_fn
1.350 +#undef STORE_method_get_unlock_store_function
1.351 +#define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn
1.352 +
1.353 +#endif /* defined OPENSSL_SYS_VMS */
1.354 +
1.355 +
1.356 +/* Case insensiteve linking causes problems.... */
1.357 +#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2)
1.358 +#undef ERR_load_CRYPTO_strings
1.359 +#define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
1.360 +#undef OCSP_crlID_new
1.361 +#define OCSP_crlID_new OCSP_crlID2_new
1.362 +
1.363 +#undef d2i_ECPARAMETERS
1.364 +#define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
1.365 +#undef i2d_ECPARAMETERS
1.366 +#define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
1.367 +#undef d2i_ECPKPARAMETERS
1.368 +#define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
1.369 +#undef i2d_ECPKPARAMETERS
1.370 +#define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
1.371 +
1.372 +/* These functions do not seem to exist! However, I'm paranoid...
1.373 + Original command in x509v3.h:
1.374 + These functions are being redefined in another directory,
1.375 + and clash when the linker is case-insensitive, so let's
1.376 + hide them a little, by giving them an extra 'o' at the
1.377 + beginning of the name... */
1.378 +#undef X509v3_cleanup_extensions
1.379 +#define X509v3_cleanup_extensions oX509v3_cleanup_extensions
1.380 +#undef X509v3_add_extension
1.381 +#define X509v3_add_extension oX509v3_add_extension
1.382 +#undef X509v3_add_netscape_extensions
1.383 +#define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions
1.384 +#undef X509v3_add_standard_extensions
1.385 +#define X509v3_add_standard_extensions oX509v3_add_standard_extensions
1.386 +
1.387 +
1.388 +#endif
1.389 +
1.390 +
1.391 +#endif /* ! defined HEADER_VMS_IDHACKS_H */