symhacks.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 #ifndef HEADER_SYMHACKS_H
00056 #define HEADER_SYMHACKS_H
00057
00058 #include <openssl/e_os2.h>
00059
00060
00061
00062
00063 #ifdef OPENSSL_SYS_VMS
00064
00065
00066 #undef CRYPTO_get_ex_data_implementation
00067 #define CRYPTO_get_ex_data_implementation CRYPTO_get_ex_data_impl
00068 #undef CRYPTO_set_ex_data_implementation
00069 #define CRYPTO_set_ex_data_implementation CRYPTO_set_ex_data_impl
00070
00071
00072 #undef ASN1_STRING_set_default_mask_asc
00073 #define ASN1_STRING_set_default_mask_asc ASN1_STRING_set_def_mask_asc
00074
00075 #if 0
00076
00077 #undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO
00078 #define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO i2d_ASN1_SET_OF_PKCS7_SIGINF
00079 #undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO
00080 #define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO d2i_ASN1_SET_OF_PKCS7_SIGINF
00081 #endif
00082
00083 #if 0
00084
00085 #undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO
00086 #define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO i2d_ASN1_SET_OF_PKCS7_RECINF
00087 #undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO
00088 #define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO d2i_ASN1_SET_OF_PKCS7_RECINF
00089 #endif
00090
00091 #if 0
00092
00093 #undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION
00094 #define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION i2d_ASN1_SET_OF_ACC_DESC
00095 #undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION
00096 #define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION d2i_ASN1_SET_OF_ACC_DESC
00097 #endif
00098
00099
00100 #undef PEM_read_NETSCAPE_CERT_SEQUENCE
00101 #define PEM_read_NETSCAPE_CERT_SEQUENCE PEM_read_NS_CERT_SEQ
00102 #undef PEM_write_NETSCAPE_CERT_SEQUENCE
00103 #define PEM_write_NETSCAPE_CERT_SEQUENCE PEM_write_NS_CERT_SEQ
00104 #undef PEM_read_bio_NETSCAPE_CERT_SEQUENCE
00105 #define PEM_read_bio_NETSCAPE_CERT_SEQUENCE PEM_read_bio_NS_CERT_SEQ
00106 #undef PEM_write_bio_NETSCAPE_CERT_SEQUENCE
00107 #define PEM_write_bio_NETSCAPE_CERT_SEQUENCE PEM_write_bio_NS_CERT_SEQ
00108 #undef PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE
00109 #define PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE PEM_write_cb_bio_NS_CERT_SEQ
00110
00111
00112 #undef PEM_read_PKCS8_PRIV_KEY_INFO
00113 #define PEM_read_PKCS8_PRIV_KEY_INFO PEM_read_P8_PRIV_KEY_INFO
00114 #undef PEM_write_PKCS8_PRIV_KEY_INFO
00115 #define PEM_write_PKCS8_PRIV_KEY_INFO PEM_write_P8_PRIV_KEY_INFO
00116 #undef PEM_read_bio_PKCS8_PRIV_KEY_INFO
00117 #define PEM_read_bio_PKCS8_PRIV_KEY_INFO PEM_read_bio_P8_PRIV_KEY_INFO
00118 #undef PEM_write_bio_PKCS8_PRIV_KEY_INFO
00119 #define PEM_write_bio_PKCS8_PRIV_KEY_INFO PEM_write_bio_P8_PRIV_KEY_INFO
00120 #undef PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO
00121 #define PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO PEM_wrt_cb_bio_P8_PRIV_KEY_INFO
00122
00123
00124 #undef PEM_write_bio_PKCS8PrivateKey_nid
00125 #define PEM_write_bio_PKCS8PrivateKey_nid PEM_write_bio_PKCS8PrivKey_nid
00126
00127
00128 #undef X509_REVOKED_get_ext_by_critical
00129 #define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic
00130 #undef X509_policy_tree_get0_user_policies
00131 #define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies
00132 #undef X509_policy_node_get0_qualifiers
00133 #define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers
00134 #undef X509_STORE_CTX_get_explicit_policy
00135 #define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy
00136
00137
00138 #undef CRYPTO_set_dynlock_destroy_callback
00139 #define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb
00140 #undef CRYPTO_set_dynlock_create_callback
00141 #define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb
00142 #undef CRYPTO_set_dynlock_lock_callback
00143 #define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb
00144 #undef CRYPTO_get_dynlock_lock_callback
00145 #define CRYPTO_get_dynlock_lock_callback CRYPTO_get_dynlock_lock_cb
00146 #undef CRYPTO_get_dynlock_destroy_callback
00147 #define CRYPTO_get_dynlock_destroy_callback CRYPTO_get_dynlock_destroy_cb
00148 #undef CRYPTO_get_dynlock_create_callback
00149 #define CRYPTO_get_dynlock_create_callback CRYPTO_get_dynlock_create_cb
00150 #undef CRYPTO_set_locked_mem_ex_functions
00151 #define CRYPTO_set_locked_mem_ex_functions CRYPTO_set_locked_mem_ex_funcs
00152 #undef CRYPTO_get_locked_mem_ex_functions
00153 #define CRYPTO_get_locked_mem_ex_functions CRYPTO_get_locked_mem_ex_funcs
00154
00155
00156 #undef SSL_CTX_set_default_verify_paths
00157 #define SSL_CTX_set_default_verify_paths SSL_CTX_set_def_verify_paths
00158 #undef SSL_get_ex_data_X509_STORE_CTX_idx
00159 #define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx
00160 #undef SSL_add_file_cert_subjects_to_stack
00161 #define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk
00162 #undef SSL_add_dir_cert_subjects_to_stack
00163 #define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk
00164 #undef SSL_CTX_use_certificate_chain_file
00165 #define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file
00166 #undef SSL_CTX_set_cert_verify_callback
00167 #define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb
00168 #undef SSL_CTX_set_default_passwd_cb_userdata
00169 #define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud
00170 #undef SSL_COMP_get_compression_methods
00171 #define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods
00172
00173
00174 #undef ENGINE_get_default_BN_mod_exp_crt
00175 #define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt
00176 #undef ENGINE_set_default_BN_mod_exp_crt
00177 #define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt
00178 #undef ENGINE_set_load_privkey_function
00179 #define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn
00180 #undef ENGINE_get_load_privkey_function
00181 #define ENGINE_get_load_privkey_function ENGINE_get_load_privkey_fn
00182
00183
00184 #undef OCSP_REQUEST_get_ext_by_critical
00185 #define OCSP_REQUEST_get_ext_by_critical OCSP_REQUEST_get_ext_by_crit
00186 #undef OCSP_BASICRESP_get_ext_by_critical
00187 #define OCSP_BASICRESP_get_ext_by_critical OCSP_BASICRESP_get_ext_by_crit
00188 #undef OCSP_SINGLERESP_get_ext_by_critical
00189 #define OCSP_SINGLERESP_get_ext_by_critical OCSP_SINGLERESP_get_ext_by_crit
00190
00191
00192 #undef _ossl_old_des_ede3_cfb64_encrypt
00193 #define _ossl_old_des_ede3_cfb64_encrypt _ossl_odes_ede3_cfb64_encrypt
00194 #undef _ossl_old_des_ede3_ofb64_encrypt
00195 #define _ossl_old_des_ede3_ofb64_encrypt _ossl_odes_ede3_ofb64_encrypt
00196
00197
00198 #undef OPENSSL_add_all_algorithms_noconf
00199 #define OPENSSL_add_all_algorithms_noconf OPENSSL_add_all_algo_noconf
00200 #undef OPENSSL_add_all_algorithms_conf
00201 #define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf
00202
00203
00204 #undef EC_GROUP_set_point_conversion_form
00205 #define EC_GROUP_set_point_conversion_form EC_GROUP_set_point_conv_form
00206 #undef EC_GROUP_get_point_conversion_form
00207 #define EC_GROUP_get_point_conversion_form EC_GROUP_get_point_conv_form
00208 #undef EC_GROUP_clear_free_all_extra_data
00209 #define EC_GROUP_clear_free_all_extra_data EC_GROUP_clr_free_all_xtra_data
00210 #undef EC_POINT_set_Jprojective_coordinates_GFp
00211 #define EC_POINT_set_Jprojective_coordinates_GFp \
00212 EC_POINT_set_Jproj_coords_GFp
00213 #undef EC_POINT_get_Jprojective_coordinates_GFp
00214 #define EC_POINT_get_Jprojective_coordinates_GFp \
00215 EC_POINT_get_Jproj_coords_GFp
00216 #undef EC_POINT_set_affine_coordinates_GFp
00217 #define EC_POINT_set_affine_coordinates_GFp EC_POINT_set_affine_coords_GFp
00218 #undef EC_POINT_get_affine_coordinates_GFp
00219 #define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp
00220 #undef EC_POINT_set_compressed_coordinates_GFp
00221 #define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp
00222 #undef EC_POINT_set_affine_coordinates_GF2m
00223 #define EC_POINT_set_affine_coordinates_GF2m EC_POINT_set_affine_coords_GF2m
00224 #undef EC_POINT_get_affine_coordinates_GF2m
00225 #define EC_POINT_get_affine_coordinates_GF2m EC_POINT_get_affine_coords_GF2m
00226 #undef EC_POINT_set_compressed_coordinates_GF2m
00227 #define EC_POINT_set_compressed_coordinates_GF2m \
00228 EC_POINT_set_compr_coords_GF2m
00229 #undef ec_GF2m_simple_group_clear_finish
00230 #define ec_GF2m_simple_group_clear_finish ec_GF2m_simple_grp_clr_finish
00231 #undef ec_GF2m_simple_group_check_discriminant
00232 #define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim
00233 #undef ec_GF2m_simple_point_clear_finish
00234 #define ec_GF2m_simple_point_clear_finish ec_GF2m_simple_pt_clr_finish
00235 #undef ec_GF2m_simple_point_set_to_infinity
00236 #define ec_GF2m_simple_point_set_to_infinity ec_GF2m_simple_pt_set_to_inf
00237 #undef ec_GF2m_simple_points_make_affine
00238 #define ec_GF2m_simple_points_make_affine ec_GF2m_simple_pts_make_affine
00239 #undef ec_GF2m_simple_point_set_affine_coordinates
00240 #define ec_GF2m_simple_point_set_affine_coordinates \
00241 ec_GF2m_smp_pt_set_af_coords
00242 #undef ec_GF2m_simple_point_get_affine_coordinates
00243 #define ec_GF2m_simple_point_get_affine_coordinates \
00244 ec_GF2m_smp_pt_get_af_coords
00245 #undef ec_GF2m_simple_set_compressed_coordinates
00246 #define ec_GF2m_simple_set_compressed_coordinates \
00247 ec_GF2m_smp_set_compr_coords
00248 #undef ec_GFp_simple_group_set_curve_GFp
00249 #define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp
00250 #undef ec_GFp_simple_group_get_curve_GFp
00251 #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp
00252 #undef ec_GFp_simple_group_clear_finish
00253 #define ec_GFp_simple_group_clear_finish ec_GFp_simple_grp_clear_finish
00254 #undef ec_GFp_simple_group_set_generator
00255 #define ec_GFp_simple_group_set_generator ec_GFp_simple_grp_set_generator
00256 #undef ec_GFp_simple_group_get0_generator
00257 #define ec_GFp_simple_group_get0_generator ec_GFp_simple_grp_gt0_generator
00258 #undef ec_GFp_simple_group_get_cofactor
00259 #define ec_GFp_simple_group_get_cofactor ec_GFp_simple_grp_get_cofactor
00260 #undef ec_GFp_simple_point_clear_finish
00261 #define ec_GFp_simple_point_clear_finish ec_GFp_simple_pt_clear_finish
00262 #undef ec_GFp_simple_point_set_to_infinity
00263 #define ec_GFp_simple_point_set_to_infinity ec_GFp_simple_pt_set_to_inf
00264 #undef ec_GFp_simple_points_make_affine
00265 #define ec_GFp_simple_points_make_affine ec_GFp_simple_pts_make_affine
00266 #undef ec_GFp_simple_group_get_curve_GFp
00267 #define ec_GFp_simple_group_get_curve_GFp ec_GFp_simple_grp_get_curve_GFp
00268 #undef ec_GFp_simple_set_Jprojective_coordinates_GFp
00269 #define ec_GFp_simple_set_Jprojective_coordinates_GFp \
00270 ec_GFp_smp_set_Jproj_coords_GFp
00271 #undef ec_GFp_simple_get_Jprojective_coordinates_GFp
00272 #define ec_GFp_simple_get_Jprojective_coordinates_GFp \
00273 ec_GFp_smp_get_Jproj_coords_GFp
00274 #undef ec_GFp_simple_point_set_affine_coordinates_GFp
00275 #define ec_GFp_simple_point_set_affine_coordinates_GFp \
00276 ec_GFp_smp_pt_set_af_coords_GFp
00277 #undef ec_GFp_simple_point_get_affine_coordinates_GFp
00278 #define ec_GFp_simple_point_get_affine_coordinates_GFp \
00279 ec_GFp_smp_pt_get_af_coords_GFp
00280 #undef ec_GFp_simple_set_compressed_coordinates_GFp
00281 #define ec_GFp_simple_set_compressed_coordinates_GFp \
00282 ec_GFp_smp_set_compr_coords_GFp
00283 #undef ec_GFp_simple_point_set_affine_coordinates
00284 #define ec_GFp_simple_point_set_affine_coordinates \
00285 ec_GFp_smp_pt_set_af_coords
00286 #undef ec_GFp_simple_point_get_affine_coordinates
00287 #define ec_GFp_simple_point_get_affine_coordinates \
00288 ec_GFp_smp_pt_get_af_coords
00289 #undef ec_GFp_simple_set_compressed_coordinates
00290 #define ec_GFp_simple_set_compressed_coordinates \
00291 ec_GFp_smp_set_compr_coords
00292 #undef ec_GFp_simple_group_check_discriminant
00293 #define ec_GFp_simple_group_check_discriminant ec_GFp_simple_grp_chk_discrim
00294
00295
00296 #undef STORE_method_set_initialise_function
00297 #define STORE_method_set_initialise_function STORE_meth_set_initialise_fn
00298 #undef STORE_method_set_cleanup_function
00299 #define STORE_method_set_cleanup_function STORE_meth_set_cleanup_fn
00300 #undef STORE_method_set_generate_function
00301 #define STORE_method_set_generate_function STORE_meth_set_generate_fn
00302 #undef STORE_method_set_modify_function
00303 #define STORE_method_set_modify_function STORE_meth_set_modify_fn
00304 #undef STORE_method_set_revoke_function
00305 #define STORE_method_set_revoke_function STORE_meth_set_revoke_fn
00306 #undef STORE_method_set_delete_function
00307 #define STORE_method_set_delete_function STORE_meth_set_delete_fn
00308 #undef STORE_method_set_list_start_function
00309 #define STORE_method_set_list_start_function STORE_meth_set_list_start_fn
00310 #undef STORE_method_set_list_next_function
00311 #define STORE_method_set_list_next_function STORE_meth_set_list_next_fn
00312 #undef STORE_method_set_list_end_function
00313 #define STORE_method_set_list_end_function STORE_meth_set_list_end_fn
00314 #undef STORE_method_set_update_store_function
00315 #define STORE_method_set_update_store_function STORE_meth_set_update_store_fn
00316 #undef STORE_method_set_lock_store_function
00317 #define STORE_method_set_lock_store_function STORE_meth_set_lock_store_fn
00318 #undef STORE_method_set_unlock_store_function
00319 #define STORE_method_set_unlock_store_function STORE_meth_set_unlock_store_fn
00320 #undef STORE_method_get_initialise_function
00321 #define STORE_method_get_initialise_function STORE_meth_get_initialise_fn
00322 #undef STORE_method_get_cleanup_function
00323 #define STORE_method_get_cleanup_function STORE_meth_get_cleanup_fn
00324 #undef STORE_method_get_generate_function
00325 #define STORE_method_get_generate_function STORE_meth_get_generate_fn
00326 #undef STORE_method_get_modify_function
00327 #define STORE_method_get_modify_function STORE_meth_get_modify_fn
00328 #undef STORE_method_get_revoke_function
00329 #define STORE_method_get_revoke_function STORE_meth_get_revoke_fn
00330 #undef STORE_method_get_delete_function
00331 #define STORE_method_get_delete_function STORE_meth_get_delete_fn
00332 #undef STORE_method_get_list_start_function
00333 #define STORE_method_get_list_start_function STORE_meth_get_list_start_fn
00334 #undef STORE_method_get_list_next_function
00335 #define STORE_method_get_list_next_function STORE_meth_get_list_next_fn
00336 #undef STORE_method_get_list_end_function
00337 #define STORE_method_get_list_end_function STORE_meth_get_list_end_fn
00338 #undef STORE_method_get_update_store_function
00339 #define STORE_method_get_update_store_function STORE_meth_get_update_store_fn
00340 #undef STORE_method_get_lock_store_function
00341 #define STORE_method_get_lock_store_function STORE_meth_get_lock_store_fn
00342 #undef STORE_method_get_unlock_store_function
00343 #define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn
00344
00345 #endif
00346
00347
00348
00349 #if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2)
00350 #undef ERR_load_CRYPTO_strings
00351 #define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings
00352 #undef OCSP_crlID_new
00353 #define OCSP_crlID_new OCSP_crlID2_new
00354
00355 #undef d2i_ECPARAMETERS
00356 #define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS
00357 #undef i2d_ECPARAMETERS
00358 #define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS
00359 #undef d2i_ECPKPARAMETERS
00360 #define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS
00361 #undef i2d_ECPKPARAMETERS
00362 #define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS
00363
00364
00365
00366
00367
00368
00369
00370 #undef X509v3_cleanup_extensions
00371 #define X509v3_cleanup_extensions oX509v3_cleanup_extensions
00372 #undef X509v3_add_extension
00373 #define X509v3_add_extension oX509v3_add_extension
00374 #undef X509v3_add_netscape_extensions
00375 #define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions
00376 #undef X509v3_add_standard_extensions
00377 #define X509v3_add_standard_extensions oX509v3_add_standard_extensions
00378
00379
00380 #endif
00381
00382
00383 #endif