Eneboo - Documentación para desarrolladores
|
00001 /* ==================================================================== 00002 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 00003 * 00004 * Redistribution and use in source and binary forms, with or without 00005 * modification, are permitted provided that the following conditions 00006 * are met: 00007 * 00008 * 1. Redistributions of source code must retain the above copyright 00009 * notice, this list of conditions and the following disclaimer. 00010 * 00011 * 2. Redistributions in binary form must reproduce the above copyright 00012 * notice, this list of conditions and the following disclaimer in 00013 * the documentation and/or other materials provided with the 00014 * distribution. 00015 * 00016 * 3. All advertising materials mentioning features or use of this 00017 * software must display the following acknowledgment: 00018 * "This product includes software developed by the OpenSSL Project 00019 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 00020 * 00021 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 00022 * endorse or promote products derived from this software without 00023 * prior written permission. For written permission, please contact 00024 * openssl-core@openssl.org. 00025 * 00026 * 5. Products derived from this software may not be called "OpenSSL" 00027 * nor may "OpenSSL" appear in their names without prior written 00028 * permission of the OpenSSL Project. 00029 * 00030 * 6. Redistributions of any form whatsoever must retain the following 00031 * acknowledgment: 00032 * "This product includes software developed by the OpenSSL Project 00033 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 00034 * 00035 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 00036 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00037 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00038 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 00039 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 00040 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 00041 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00042 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00043 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 00044 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 00045 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 00046 * OF THE POSSIBILITY OF SUCH DAMAGE. 00047 * ==================================================================== 00048 * 00049 * This product includes cryptographic software written by Eric Young 00050 * (eay@cryptsoft.com). This product includes software written by Tim 00051 * Hudson (tjh@cryptsoft.com). 00052 * 00053 */ 00054 00055 #ifndef HEADER_SYMHACKS_H 00056 #define HEADER_SYMHACKS_H 00057 00058 #include <openssl/e_os2.h> 00059 00060 /* Hacks to solve the problem with linkers incapable of handling very long 00061 symbol names. In the case of VMS, the limit is 31 characters on VMS for 00062 VAX. */ 00063 /* Note that this affects util/libeay.num and util/ssleay.num... you may 00064 change those manually, but that's not recommended, as those files are 00065 controlled centrally and updated on Unix, and the central definition 00066 may disagree with yours, which in turn may come with shareable library 00067 incompatibilities. */ 00068 #ifdef OPENSSL_SYS_VMS 00069 00070 /* Hack a long name in crypto/cryptlib.c */ 00071 #undef int_CRYPTO_set_do_dynlock_callback 00072 #define int_CRYPTO_set_do_dynlock_callback int_CRYPTO_set_do_dynlock_cb 00073 00074 /* Hack a long name in crypto/ex_data.c */ 00075 #undef CRYPTO_get_ex_data_implementation 00076 #define CRYPTO_get_ex_data_implementation CRYPTO_get_ex_data_impl 00077 #undef CRYPTO_set_ex_data_implementation 00078 #define CRYPTO_set_ex_data_implementation CRYPTO_set_ex_data_impl 00079 00080 /* Hack a long name in crypto/asn1/a_mbstr.c */ 00081 #undef ASN1_STRING_set_default_mask_asc 00082 #define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc 00083 00084 #if 0 /* No longer needed, since safestack macro magic does the job */ 00085 /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */ 00086 #undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO 00087 #define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF 00088 #undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO 00089 #define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF 00090 #endif 00091 00092 #if 0 /* No longer needed, since safestack macro magic does the job */ 00093 /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */ 00094 #undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO 00095 #define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_RECINF 00096 #undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO 00097 #define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECINF 00098 #endif 00099 00100 #if 0 /* No longer needed, since safestack macro magic does the job */ 00101 /* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */ 00102 #undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION 00103 #define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC 00104 #undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION 00105 #define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC 00106 #endif 00107 00108 /* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */ 00109 #undef PEM_read_NETSCAPE_CERT_SEQUENCE 00110 #define PEM_read_NETSCAPE_CERT_SEQUENCE PEM_read_NS_CERT_SEQ 00111 #undef PEM_write_NETSCAPE_CERT_SEQUENCE 00112 #define PEM_write_NETSCAPE_CERT_SEQUENCE PEM_write_NS_CERT_SEQ 00113 #undef PEM_read_bio_NETSCAPE_CERT_SEQUENCE 00114 #define PEM_read_bio_NETSCAPE_CERT_SEQUENCE PEM_read_bio_NS_CERT_SEQ 00115 #undef PEM_write_bio_NETSCAPE_CERT_SEQUENCE 00116 #define PEM_write_bio_NETSCAPE_CERT_SEQUENCE PEM_write_bio_NS_CERT_SEQ 00117 #undef PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE 00118 #define PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE PEM_write_cb_bio_NS_CERT_SEQ 00119 00120 /* Hack the names created with DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO) */ 00121 #undef PEM_read_PKCS8_PRIV_KEY_INFO 00122 #define PEM_read_PKCS8_PRIV_KEY_INFO PEM_read_P8_PRIV_KEY_INFO 00123 #undef PEM_write_PKCS8_PRIV_KEY_INFO 00124 #define PEM_write_PKCS8_PRIV_KEY_INFO PEM_write_P8_PRIV_KEY_INFO 00125 #undef PEM_read_bio_PKCS8_PRIV_KEY_INFO 00126 #define PEM_read_bio_PKCS8_PRIV_KEY_INFO PEM_read_bio_P8_PRIV_KEY_INFO 00127 #undef PEM_write_bio_PKCS8_PRIV_KEY_INFO 00128 #define PEM_write_bio_PKCS8_PRIV_KEY_INFO PEM_write_bio_P8_PRIV_KEY_INFO 00129 #undef PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO 00130 #define PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO PEM_wrt_cb_bio_P8_PRIV_KEY_INFO 00131 00132 /* Hack other PEM names */ 00133 #undef PEM_write_bio_PKCS8PrivateKey_nid 00134 #define PEM_write_bio_PKCS8PrivateKey_nid PEM_write_bio_PKCS8PrivKey_nid 00135 00136 /* Hack some long X509 names */ 00137 #undef X509_REVOKED_get_ext_by_critical 00138 #define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic 00139 #undef X509_policy_tree_get0_user_policies 00140 #define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies 00141 #undef X509_policy_node_get0_qualifiers 00142 #define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers 00143 #undef X509_STORE_CTX_get_explicit_policy 00144 #define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy 00145 #undef X509_STORE_CTX_get0_current_issuer 00146 #define X509_STORE_CTX_get0_current_issuer X509_STORE_CTX_get0_cur_issuer 00147 00148 /* Hack some long CRYPTO names */ 00149 #undef CRYPTO_set_dynlock_destroy_callback 00150 #define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb 00151 #undef CRYPTO_set_dynlock_create_callback 00152 #define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb 00153 #undef CRYPTO_set_dynlock_lock_callback 00154 #define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb 00155 #undef CRYPTO_get_dynlock_lock_callback 00156 #define CRYPTO_get_dynlock_lock_callback CRYPTO_get_dynlock_lock_cb 00157 #undef CRYPTO_get_dynlock_destroy_callback 00158 #define CRYPTO_get_dynlock_destroy_callback CRYPTO_get_dynlock_destroy_cb 00159 #undef CRYPTO_get_dynlock_create_callback 00160 #define CRYPTO_get_dynlock_create_callback CRYPTO_get_dynlock_create_cb 00161 #undef CRYPTO_set_locked_mem_ex_functions 00162 #define CRYPTO_set_locked_mem_ex_functions CRYPTO_set_locked_mem_ex_funcs 00163 #undef CRYPTO_get_locked_mem_ex_functions 00164 #define CRYPTO_get_locked_mem_ex_functions CRYPTO_get_locked_mem_ex_funcs 00165 00166 /* Hack some long SSL names */ 00167 #undef SSL_CTX_set_default_verify_paths 00168 #define SSL_CTX_set_default_verify_paths SSL_CTX_set_def_verify_paths 00169 #undef SSL_get_ex_data_X509_STORE_CTX_idx 00170 #define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx 00171 #undef SSL_add_file_cert_subjects_to_stack 00172 #define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk 00173 #undef SSL_add_dir_cert_subjects_to_stack 00174 #define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk 00175 #undef SSL_CTX_use_certificate_chain_file 00176 #define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file 00177 #undef SSL_CTX_set_cert_verify_callback 00178 #define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb 00179 #undef SSL_CTX_set_default_passwd_cb_userdata 00180 #define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud 00181 #undef SSL_COMP_get_compression_methods 00182 #define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods 00183 00184 #undef ssl_add_clienthello_renegotiate_ext 00185 #define ssl_add_clienthello_renegotiate_ext ssl_add_clienthello_reneg_ext 00186 #undef ssl_add_serverhello_renegotiate_ext 00187 #define ssl_add_serverhello_renegotiate_ext ssl_add_serverhello_reneg_ext 00188 #undef ssl_parse_clienthello_renegotiate_ext 00189 #define ssl_parse_clienthello_renegotiate_ext ssl_parse_clienthello_reneg_ext 00190 #undef ssl_parse_serverhello_renegotiate_ext 00191 #define ssl_parse_serverhello_renegotiate_ext ssl_parse_serverhello_reneg_ext 00192 00193 /* Hack some long ENGINE names */ 00194 #undef ENGINE_get_default_BN_mod_exp_crt 00195 #define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt 00196 #undef ENGINE_set_default_BN_mod_exp_crt 00197 #define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt 00198 #undef ENGINE_set_load_privkey_function 00199 #define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn 00200 #undef ENGINE_get_load_privkey_function 00201 #define ENGINE_get_load_privkey_function ENGINE_get_load_privkey_fn 00202 #undef ENGINE_set_load_ssl_client_cert_function 00203 #define ENGINE_set_load_ssl_client_cert_function \ 00204 ENGINE_set_ld_ssl_clnt_cert_fn 00205 #undef ENGINE_get_ssl_client_cert_function 00206 #define ENGINE_get_ssl_client_cert_function ENGINE_get_ssl_client_cert_fn 00207 00208 /* Hack some long OCSP names */ 00209 #undef OCSP_REQUEST_get_ext_by_critical 00210 #define OCSP_REQUEST_get_ext_by_critical OCSP_REQUEST_get_ext_by_crit 00211 #undef OCSP_BASICRESP_get_ext_by_critical 00212 #define OCSP_BASICRESP_get_ext_by_critical OCSP_BASICRESP_get_ext_by_crit 00213 #undef OCSP_SINGLERESP_get_ext_by_critical 00214 #define OCSP_SINGLERESP_get_ext_by_critical OCSP_SINGLERESP_get_ext_by_crit 00215 00216 /* Hack some long DES names */ 00217 #undef _ossl_old_des_ede3_cfb64_encrypt 00218 #define _ossl_old_des_ede3_cfb64_encrypt _ossl_odes_ede3_cfb64_encrypt 00219 #undef _ossl_old_des_ede3_ofb64_encrypt 00220 #define _ossl_old_des_ede3_ofb64_encrypt _ossl_odes_ede3_ofb64_encrypt 00221 00222 /* Hack some long EVP names */ 00223 #undef OPENSSL_add_all_algorithms_noconf 00224 #define OPENSSL_add_all_algorithms_noconf OPENSSL_add_all_algo_noconf 00225 #undef OPENSSL_add_all_algorithms_conf 00226 #define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf 00227 00228 /* Hack some long EC names */ 00229 #undef EC_GROUP_set_point_conversion_form 00230 #define EC_GROUP_set_point_conversion_form EC_GROUP_set_point_conv_form 00231 #undef EC_GROUP_get_point_conversion_form 00232 #define EC_GROUP_get_point_conversion_form EC_GROUP_get_point_conv_form 00233 #undef EC_GROUP_clear_free_all_extra_data 00234 #define EC_GROUP_clear_free_all_extra_data EC_GROUP_clr_free_all_xtra_data 00235 #undef EC_POINT_set_Jprojective_coordinates_GFp 00236 #define EC_POINT_set_Jprojective_coordinates_GFp \ 00237 EC_POINT_set_Jproj_coords_GFp 00238 #undef EC_POINT_get_Jprojective_coordinates_GFp 00239 #define EC_POINT_get_Jprojective_coordinates_GFp \ 00240 EC_POINT_get_Jproj_coords_GFp 00241 #undef EC_POINT_set_affine_coordinates_GFp 00242 #define EC_POINT_set_affine_coordinates_GFp EC_POINT_set_affine_coords_GFp 00243 #undef EC_POINT_get_affine_coordinates_GFp 00244 #define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp 00245 #undef EC_POINT_set_compressed_coordinates_GFp 00246 #define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp 00247 #undef EC_POINT_set_affine_coordinates_GF2m 00248 #define EC_POINT_set_affine_coordinates_GF2m EC_POINT_set_affine_coords_GF2m 00249 #undef EC_POINT_get_affine_coordinates_GF2m 00250 #define EC_POINT_get_affine_coordinates_GF2m EC_POINT_get_affine_coords_GF2m 00251 #undef EC_POINT_set_compressed_coordinates_GF2m 00252 #define EC_POINT_set_compressed_coordinates_GF2m \ 00253 EC_POINT_set_compr_coords_GF2m 00254 #undef ec_GF2m_simple_group_clear_finish 00255 #define ec_GF2m_simple_group_clear_finish ec_GF2m_simple_grp_clr_finish 00256 #undef ec_GF2m_simple_group_check_discriminant 00257 #define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim 00258 #undef ec_GF2m_simple_point_clear_finish 00259 #define ec_GF2m_simple_point_clear_finish ec_GF2m_simple_pt_clr_finish 00260 #undef ec_GF2m_simple_point_set_to_infinity 00261 #define ec_GF2m_simple_point_set_to_infinity ec_GF2m_simple_pt_set_to_inf 00262 #undef ec_GF2m_simple_points_make_affine 00263 #define ec_GF2m_simple_points_make_affine ec_GF2m_simple_pts_make_affine 00264 #undef ec_GF2m_simple_point_set_affine_coordinates 00265 #define ec_GF2m_simple_point_set_affine_coordinates \ 00266 ec_GF2m_smp_pt_set_af_coords 00267 #undef ec_GF2m_simple_point_get_affine_coordinates 00268 #define ec_GF2m_simple_point_get_affine_coordinates \ 00269 ec_GF2m_smp_pt_get_af_coords 00270 #undef ec_GF2m_simple_set_compressed_coordinates 00271 #define ec_GF2m_simple_set_compressed_coordinates \ 00272 ec_GF2m_smp_set_compr_coords 00273 #undef ec_GFp_simple_group_set_curve_GFp 00274 #define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp 00275 #undef ec_GFp_simple_group_get_curve_GFp 00276 #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp 00277 #undef ec_GFp_simple_group_clear_finish 00278 #define ec_GFp_simple_group_clear_finish ec_GFp_simple_grp_clear_finish 00279 #undef ec_GFp_simple_group_set_generator 00280 #define ec_GFp_simple_group_set_generator ec_GFp_simple_grp_set_generator 00281 #undef ec_GFp_simple_group_get0_generator 00282 #define ec_GFp_simple_group_get0_generator ec_GFp_simple_grp_gt0_generator 00283 #undef ec_GFp_simple_group_get_cofactor 00284 #define ec_GFp_simple_group_get_cofactor ec_GFp_simple_grp_get_cofactor 00285 #undef ec_GFp_simple_point_clear_finish 00286 #define ec_GFp_simple_point_clear_finish ec_GFp_simple_pt_clear_finish 00287 #undef ec_GFp_simple_point_set_to_infinity 00288 #define ec_GFp_simple_point_set_to_infinity ec_GFp_simple_pt_set_to_inf 00289 #undef ec_GFp_simple_points_make_affine 00290 #define ec_GFp_simple_points_make_affine ec_GFp_simple_pts_make_affine 00291 #undef ec_GFp_simple_group_get_curve_GFp 00292 #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp 00293 #undef ec_GFp_simple_set_Jprojective_coordinates_GFp 00294 #define ec_GFp_simple_set_Jprojective_coordinates_GFp \ 00295 ec_GFp_smp_set_Jproj_coords_GFp 00296 #undef ec_GFp_simple_get_Jprojective_coordinates_GFp 00297 #define ec_GFp_simple_get_Jprojective_coordinates_GFp \ 00298 ec_GFp_smp_get_Jproj_coords_GFp 00299 #undef ec_GFp_simple_point_set_affine_coordinates_GFp 00300 #define ec_GFp_simple_point_set_affine_coordinates_GFp \ 00301 ec_GFp_smp_pt_set_af_coords_GFp 00302 #undef ec_GFp_simple_point_get_affine_coordinates_GFp 00303 #define ec_GFp_simple_point_get_affine_coordinates_GFp \ 00304 ec_GFp_smp_pt_get_af_coords_GFp 00305 #undef ec_GFp_simple_set_compressed_coordinates_GFp 00306 #define ec_GFp_simple_set_compressed_coordinates_GFp \ 00307 ec_GFp_smp_set_compr_coords_GFp 00308 #undef ec_GFp_simple_point_set_affine_coordinates 00309 #define ec_GFp_simple_point_set_affine_coordinates \ 00310 ec_GFp_smp_pt_set_af_coords 00311 #undef ec_GFp_simple_point_get_affine_coordinates 00312 #define ec_GFp_simple_point_get_affine_coordinates \ 00313 ec_GFp_smp_pt_get_af_coords 00314 #undef ec_GFp_simple_set_compressed_coordinates 00315 #define ec_GFp_simple_set_compressed_coordinates \ 00316 ec_GFp_smp_set_compr_coords 00317 #undef ec_GFp_simple_group_check_discriminant 00318 #define ec_GFp_simple_group_check_discriminant ec_GFp_simple_grp_chk_discrim 00319 00320 /* Hack som long STORE names */ 00321 #undef STORE_method_set_initialise_function 00322 #define STORE_method_set_initialise_function STORE_meth_set_initialise_fn 00323 #undef STORE_method_set_cleanup_function 00324 #define STORE_method_set_cleanup_function STORE_meth_set_cleanup_fn 00325 #undef STORE_method_set_generate_function 00326 #define STORE_method_set_generate_function STORE_meth_set_generate_fn 00327 #undef STORE_method_set_modify_function 00328 #define STORE_method_set_modify_function STORE_meth_set_modify_fn 00329 #undef STORE_method_set_revoke_function 00330 #define STORE_method_set_revoke_function STORE_meth_set_revoke_fn 00331 #undef STORE_method_set_delete_function 00332 #define STORE_method_set_delete_function STORE_meth_set_delete_fn 00333 #undef STORE_method_set_list_start_function 00334 #define STORE_method_set_list_start_function STORE_meth_set_list_start_fn 00335 #undef STORE_method_set_list_next_function 00336 #define STORE_method_set_list_next_function STORE_meth_set_list_next_fn 00337 #undef STORE_method_set_list_end_function 00338 #define STORE_method_set_list_end_function STORE_meth_set_list_end_fn 00339 #undef STORE_method_set_update_store_function 00340 #define STORE_method_set_update_store_function STORE_meth_set_update_store_fn 00341 #undef STORE_method_set_lock_store_function 00342 #define STORE_method_set_lock_store_function STORE_meth_set_lock_store_fn 00343 #undef STORE_method_set_unlock_store_function 00344 #define STORE_method_set_unlock_store_function STORE_meth_set_unlock_store_fn 00345 #undef STORE_method_get_initialise_function 00346 #define STORE_method_get_initialise_function STORE_meth_get_initialise_fn 00347 #undef STORE_method_get_cleanup_function 00348 #define STORE_method_get_cleanup_function STORE_meth_get_cleanup_fn 00349 #undef STORE_method_get_generate_function 00350 #define STORE_method_get_generate_function STORE_meth_get_generate_fn 00351 #undef STORE_method_get_modify_function 00352 #define STORE_method_get_modify_function STORE_meth_get_modify_fn 00353 #undef STORE_method_get_revoke_function 00354 #define STORE_method_get_revoke_function STORE_meth_get_revoke_fn 00355 #undef STORE_method_get_delete_function 00356 #define STORE_method_get_delete_function STORE_meth_get_delete_fn 00357 #undef STORE_method_get_list_start_function 00358 #define STORE_method_get_list_start_function STORE_meth_get_list_start_fn 00359 #undef STORE_method_get_list_next_function 00360 #define STORE_method_get_list_next_function STORE_meth_get_list_next_fn 00361 #undef STORE_method_get_list_end_function 00362 #define STORE_method_get_list_end_function STORE_meth_get_list_end_fn 00363 #undef STORE_method_get_update_store_function 00364 #define STORE_method_get_update_store_function STORE_meth_get_update_store_fn 00365 #undef STORE_method_get_lock_store_function 00366 #define STORE_method_get_lock_store_function STORE_meth_get_lock_store_fn 00367 #undef STORE_method_get_unlock_store_function 00368 #define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn 00369 00370 /* Hack some long CMS names */ 00371 #undef CMS_RecipientInfo_ktri_get0_algs 00372 #define CMS_RecipientInfo_ktri_get0_algs CMS_RecipInfo_ktri_get0_algs 00373 #undef CMS_RecipientInfo_ktri_get0_signer_id 00374 #define CMS_RecipientInfo_ktri_get0_signer_id CMS_RecipInfo_ktri_get0_sigr_id 00375 #undef CMS_OtherRevocationInfoFormat_it 00376 #define CMS_OtherRevocationInfoFormat_it CMS_OtherRevocInfoFormat_it 00377 #undef CMS_KeyAgreeRecipientIdentifier_it 00378 #define CMS_KeyAgreeRecipientIdentifier_it CMS_KeyAgreeRecipIdentifier_it 00379 #undef CMS_OriginatorIdentifierOrKey_it 00380 #define CMS_OriginatorIdentifierOrKey_it CMS_OriginatorIdOrKey_it 00381 #undef cms_SignerIdentifier_get0_signer_id 00382 #define cms_SignerIdentifier_get0_signer_id cms_SignerId_get0_signer_id 00383 00384 /* Hack some long DTLS1 names */ 00385 #undef dtls1_retransmit_buffered_messages 00386 #define dtls1_retransmit_buffered_messages dtls1_retransmit_buffered_msgs 00387 00388 #endif /* defined OPENSSL_SYS_VMS */ 00389 00390 00391 /* Case insensiteve linking causes problems.... */ 00392 #if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) 00393 #undef ERR_load_CRYPTO_strings 00394 #define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 00395 #undef OCSP_crlID_new 00396 #define OCSP_crlID_new OCSP_crlID2_new 00397 00398 #undef d2i_ECPARAMETERS 00399 #define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS 00400 #undef i2d_ECPARAMETERS 00401 #define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS 00402 #undef d2i_ECPKPARAMETERS 00403 #define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS 00404 #undef i2d_ECPKPARAMETERS 00405 #define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS 00406 00407 /* These functions do not seem to exist! However, I'm paranoid... 00408 Original command in x509v3.h: 00409 These functions are being redefined in another directory, 00410 and clash when the linker is case-insensitive, so let's 00411 hide them a little, by giving them an extra 'o' at the 00412 beginning of the name... */ 00413 #undef X509v3_cleanup_extensions 00414 #define X509v3_cleanup_extensions oX509v3_cleanup_extensions 00415 #undef X509v3_add_extension 00416 #define X509v3_add_extension oX509v3_add_extension 00417 #undef X509v3_add_netscape_extensions 00418 #define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions 00419 #undef X509v3_add_standard_extensions 00420 #define X509v3_add_standard_extensions oX509v3_add_standard_extensions 00421 00422 00423 #endif 00424 00425 00426 #endif /* ! defined HEADER_VMS_IDHACKS_H */ 00427 /* This one clashes with CMS_data_create */ 00428 #undef cms_Data_create 00429 #define cms_Data_create priv_cms_Data_create