diff options
| author | djm <> | 2008-09-06 12:17:54 +0000 |
|---|---|---|
| committer | djm <> | 2008-09-06 12:17:54 +0000 |
| commit | 38ce604e3cc97706b876b0525ddff0121115456d (patch) | |
| tree | 7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/symhacks.h | |
| parent | 12867252827c8efaa8ddd1fa3b3d6e321e2bcdef (diff) | |
| download | openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.gz openbsd-38ce604e3cc97706b876b0525ddff0121115456d.tar.bz2 openbsd-38ce604e3cc97706b876b0525ddff0121115456d.zip | |
resolve conflicts
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/symhacks.h | 129 |
1 files changed, 127 insertions, 2 deletions
diff --git a/src/lib/libcrypto/symhacks.h b/src/lib/libcrypto/symhacks.h index 774162fec9..64528ad5c2 100644 --- a/src/lib/libcrypto/symhacks.h +++ b/src/lib/libcrypto/symhacks.h | |||
| @@ -127,6 +127,12 @@ | |||
| 127 | /* Hack some long X509 names */ | 127 | /* Hack some long X509 names */ |
| 128 | #undef X509_REVOKED_get_ext_by_critical | 128 | #undef X509_REVOKED_get_ext_by_critical |
| 129 | #define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic | 129 | #define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic |
| 130 | #undef X509_policy_tree_get0_user_policies | ||
| 131 | #define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies | ||
| 132 | #undef X509_policy_node_get0_qualifiers | ||
| 133 | #define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers | ||
| 134 | #undef X509_STORE_CTX_get_explicit_policy | ||
| 135 | #define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy | ||
| 130 | 136 | ||
| 131 | /* Hack some long CRYPTO names */ | 137 | /* Hack some long CRYPTO names */ |
| 132 | #undef CRYPTO_set_dynlock_destroy_callback | 138 | #undef CRYPTO_set_dynlock_destroy_callback |
| @@ -153,16 +159,16 @@ | |||
| 153 | #define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx | 159 | #define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx |
| 154 | #undef SSL_add_file_cert_subjects_to_stack | 160 | #undef SSL_add_file_cert_subjects_to_stack |
| 155 | #define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk | 161 | #define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk |
| 156 | #if 0 /* This function is not defined i VMS. */ | ||
| 157 | #undef SSL_add_dir_cert_subjects_to_stack | 162 | #undef SSL_add_dir_cert_subjects_to_stack |
| 158 | #define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk | 163 | #define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk |
| 159 | #endif | ||
| 160 | #undef SSL_CTX_use_certificate_chain_file | 164 | #undef SSL_CTX_use_certificate_chain_file |
| 161 | #define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file | 165 | #define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file |
| 162 | #undef SSL_CTX_set_cert_verify_callback | 166 | #undef SSL_CTX_set_cert_verify_callback |
| 163 | #define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb | 167 | #define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb |
| 164 | #undef SSL_CTX_set_default_passwd_cb_userdata | 168 | #undef SSL_CTX_set_default_passwd_cb_userdata |
| 165 | #define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud | 169 | #define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud |
| 170 | #undef SSL_COMP_get_compression_methods | ||
| 171 | #define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods | ||
| 166 | 172 | ||
| 167 | /* Hack some long ENGINE names */ | 173 | /* Hack some long ENGINE names */ |
| 168 | #undef ENGINE_get_default_BN_mod_exp_crt | 174 | #undef ENGINE_get_default_BN_mod_exp_crt |
| @@ -195,6 +201,12 @@ | |||
| 195 | #define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf | 201 | #define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf |
| 196 | 202 | ||
| 197 | /* Hack some long EC names */ | 203 | /* Hack some long EC names */ |
| 204 | #undef EC_GROUP_set_point_conversion_form | ||
| 205 | #define EC_GROUP_set_point_conversion_form EC_GROUP_set_point_conv_form | ||
| 206 | #undef EC_GROUP_get_point_conversion_form | ||
| 207 | #define EC_GROUP_get_point_conversion_form EC_GROUP_get_point_conv_form | ||
| 208 | #undef EC_GROUP_clear_free_all_extra_data | ||
| 209 | #define EC_GROUP_clear_free_all_extra_data EC_GROUP_clr_free_all_xtra_data | ||
| 198 | #undef EC_POINT_set_Jprojective_coordinates_GFp | 210 | #undef EC_POINT_set_Jprojective_coordinates_GFp |
| 199 | #define EC_POINT_set_Jprojective_coordinates_GFp \ | 211 | #define EC_POINT_set_Jprojective_coordinates_GFp \ |
| 200 | EC_POINT_set_Jproj_coords_GFp | 212 | EC_POINT_set_Jproj_coords_GFp |
| @@ -207,6 +219,32 @@ | |||
| 207 | #define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp | 219 | #define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp |
| 208 | #undef EC_POINT_set_compressed_coordinates_GFp | 220 | #undef EC_POINT_set_compressed_coordinates_GFp |
| 209 | #define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp | 221 | #define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp |
| 222 | #undef EC_POINT_set_affine_coordinates_GF2m | ||
| 223 | #define EC_POINT_set_affine_coordinates_GF2m EC_POINT_set_affine_coords_GF2m | ||
| 224 | #undef EC_POINT_get_affine_coordinates_GF2m | ||
| 225 | #define EC_POINT_get_affine_coordinates_GF2m EC_POINT_get_affine_coords_GF2m | ||
| 226 | #undef EC_POINT_set_compressed_coordinates_GF2m | ||
| 227 | #define EC_POINT_set_compressed_coordinates_GF2m \ | ||
| 228 | EC_POINT_set_compr_coords_GF2m | ||
| 229 | #undef ec_GF2m_simple_group_clear_finish | ||
| 230 | #define ec_GF2m_simple_group_clear_finish ec_GF2m_simple_grp_clr_finish | ||
| 231 | #undef ec_GF2m_simple_group_check_discriminant | ||
| 232 | #define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim | ||
| 233 | #undef ec_GF2m_simple_point_clear_finish | ||
| 234 | #define ec_GF2m_simple_point_clear_finish ec_GF2m_simple_pt_clr_finish | ||
| 235 | #undef ec_GF2m_simple_point_set_to_infinity | ||
| 236 | #define ec_GF2m_simple_point_set_to_infinity ec_GF2m_simple_pt_set_to_inf | ||
| 237 | #undef ec_GF2m_simple_points_make_affine | ||
| 238 | #define ec_GF2m_simple_points_make_affine ec_GF2m_simple_pts_make_affine | ||
| 239 | #undef ec_GF2m_simple_point_set_affine_coordinates | ||
| 240 | #define ec_GF2m_simple_point_set_affine_coordinates \ | ||
| 241 | ec_GF2m_smp_pt_set_af_coords | ||
| 242 | #undef ec_GF2m_simple_point_get_affine_coordinates | ||
| 243 | #define ec_GF2m_simple_point_get_affine_coordinates \ | ||
| 244 | ec_GF2m_smp_pt_get_af_coords | ||
| 245 | #undef ec_GF2m_simple_set_compressed_coordinates | ||
| 246 | #define ec_GF2m_simple_set_compressed_coordinates \ | ||
| 247 | ec_GF2m_smp_set_compr_coords | ||
| 210 | #undef ec_GFp_simple_group_set_curve_GFp | 248 | #undef ec_GFp_simple_group_set_curve_GFp |
| 211 | #define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp | 249 | #define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp |
| 212 | #undef ec_GFp_simple_group_get_curve_GFp | 250 | #undef ec_GFp_simple_group_get_curve_GFp |
| @@ -242,6 +280,81 @@ | |||
| 242 | #undef ec_GFp_simple_set_compressed_coordinates_GFp | 280 | #undef ec_GFp_simple_set_compressed_coordinates_GFp |
| 243 | #define ec_GFp_simple_set_compressed_coordinates_GFp \ | 281 | #define ec_GFp_simple_set_compressed_coordinates_GFp \ |
| 244 | ec_GFp_smp_set_compr_coords_GFp | 282 | ec_GFp_smp_set_compr_coords_GFp |
| 283 | #undef ec_GFp_simple_point_set_affine_coordinates | ||
| 284 | #define ec_GFp_simple_point_set_affine_coordinates \ | ||
| 285 | ec_GFp_smp_pt_set_af_coords | ||
| 286 | #undef ec_GFp_simple_point_get_affine_coordinates | ||
| 287 | #define ec_GFp_simple_point_get_affine_coordinates \ | ||
| 288 | ec_GFp_smp_pt_get_af_coords | ||
| 289 | #undef ec_GFp_simple_set_compressed_coordinates | ||
| 290 | #define ec_GFp_simple_set_compressed_coordinates \ | ||
| 291 | ec_GFp_smp_set_compr_coords | ||
| 292 | #undef ec_GFp_simple_group_check_discriminant | ||
| 293 | #define ec_GFp_simple_group_check_discriminant ec_GFp_simple_grp_chk_discrim | ||
| 294 | |||
| 295 | /* Hack som long STORE names */ | ||
| 296 | #undef STORE_method_set_initialise_function | ||
| 297 | #define STORE_method_set_initialise_function STORE_meth_set_initialise_fn | ||
| 298 | #undef STORE_method_set_cleanup_function | ||
| 299 | #define STORE_method_set_cleanup_function STORE_meth_set_cleanup_fn | ||
| 300 | #undef STORE_method_set_generate_function | ||
| 301 | #define STORE_method_set_generate_function STORE_meth_set_generate_fn | ||
| 302 | #undef STORE_method_set_modify_function | ||
| 303 | #define STORE_method_set_modify_function STORE_meth_set_modify_fn | ||
| 304 | #undef STORE_method_set_revoke_function | ||
| 305 | #define STORE_method_set_revoke_function STORE_meth_set_revoke_fn | ||
| 306 | #undef STORE_method_set_delete_function | ||
| 307 | #define STORE_method_set_delete_function STORE_meth_set_delete_fn | ||
| 308 | #undef STORE_method_set_list_start_function | ||
| 309 | #define STORE_method_set_list_start_function STORE_meth_set_list_start_fn | ||
| 310 | #undef STORE_method_set_list_next_function | ||
| 311 | #define STORE_method_set_list_next_function STORE_meth_set_list_next_fn | ||
| 312 | #undef STORE_method_set_list_end_function | ||
| 313 | #define STORE_method_set_list_end_function STORE_meth_set_list_end_fn | ||
| 314 | #undef STORE_method_set_update_store_function | ||
| 315 | #define STORE_method_set_update_store_function STORE_meth_set_update_store_fn | ||
| 316 | #undef STORE_method_set_lock_store_function | ||
| 317 | #define STORE_method_set_lock_store_function STORE_meth_set_lock_store_fn | ||
| 318 | #undef STORE_method_set_unlock_store_function | ||
| 319 | #define STORE_method_set_unlock_store_function STORE_meth_set_unlock_store_fn | ||
| 320 | #undef STORE_method_get_initialise_function | ||
| 321 | #define STORE_method_get_initialise_function STORE_meth_get_initialise_fn | ||
| 322 | #undef STORE_method_get_cleanup_function | ||
| 323 | #define STORE_method_get_cleanup_function STORE_meth_get_cleanup_fn | ||
| 324 | #undef STORE_method_get_generate_function | ||
| 325 | #define STORE_method_get_generate_function STORE_meth_get_generate_fn | ||
| 326 | #undef STORE_method_get_modify_function | ||
| 327 | #define STORE_method_get_modify_function STORE_meth_get_modify_fn | ||
| 328 | #undef STORE_method_get_revoke_function | ||
| 329 | #define STORE_method_get_revoke_function STORE_meth_get_revoke_fn | ||
| 330 | #undef STORE_method_get_delete_function | ||
| 331 | #define STORE_method_get_delete_function STORE_meth_get_delete_fn | ||
| 332 | #undef STORE_method_get_list_start_function | ||
| 333 | #define STORE_method_get_list_start_function STORE_meth_get_list_start_fn | ||
| 334 | #undef STORE_method_get_list_next_function | ||
| 335 | #define STORE_method_get_list_next_function STORE_meth_get_list_next_fn | ||
| 336 | #undef STORE_method_get_list_end_function | ||
| 337 | #define STORE_method_get_list_end_function STORE_meth_get_list_end_fn | ||
| 338 | #undef STORE_method_get_update_store_function | ||
| 339 | #define STORE_method_get_update_store_function STORE_meth_get_update_store_fn | ||
| 340 | #undef STORE_method_get_lock_store_function | ||
| 341 | #define STORE_method_get_lock_store_function STORE_meth_get_lock_store_fn | ||
| 342 | #undef STORE_method_get_unlock_store_function | ||
| 343 | #define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn | ||
| 344 | |||
| 345 | /* Hack some long CMS names */ | ||
| 346 | #undef CMS_RecipientInfo_ktri_get0_algs | ||
| 347 | #define CMS_RecipientInfo_ktri_get0_algs CMS_RecipInfo_ktri_get0_algs | ||
| 348 | #undef CMS_RecipientInfo_ktri_get0_signer_id | ||
| 349 | #define CMS_RecipientInfo_ktri_get0_signer_id CMS_RecipInfo_ktri_get0_sigr_id | ||
| 350 | #undef CMS_OtherRevocationInfoFormat_it | ||
| 351 | #define CMS_OtherRevocationInfoFormat_it CMS_OtherRevocInfoFormat_it | ||
| 352 | #undef CMS_KeyAgreeRecipientIdentifier_it | ||
| 353 | #define CMS_KeyAgreeRecipientIdentifier_it CMS_KeyAgreeRecipIdentifier_it | ||
| 354 | #undef CMS_OriginatorIdentifierOrKey_it | ||
| 355 | #define CMS_OriginatorIdentifierOrKey_it CMS_OriginatorIdOrKey_it | ||
| 356 | #undef cms_SignerIdentifier_get0_signer_id | ||
| 357 | #define cms_SignerIdentifier_get0_signer_id cms_SignerId_get0_signer_id | ||
| 245 | 358 | ||
| 246 | #endif /* defined OPENSSL_SYS_VMS */ | 359 | #endif /* defined OPENSSL_SYS_VMS */ |
| 247 | 360 | ||
| @@ -253,6 +366,15 @@ | |||
| 253 | #undef OCSP_crlID_new | 366 | #undef OCSP_crlID_new |
| 254 | #define OCSP_crlID_new OCSP_crlID2_new | 367 | #define OCSP_crlID_new OCSP_crlID2_new |
| 255 | 368 | ||
| 369 | #undef d2i_ECPARAMETERS | ||
| 370 | #define d2i_ECPARAMETERS d2i_UC_ECPARAMETERS | ||
| 371 | #undef i2d_ECPARAMETERS | ||
| 372 | #define i2d_ECPARAMETERS i2d_UC_ECPARAMETERS | ||
| 373 | #undef d2i_ECPKPARAMETERS | ||
| 374 | #define d2i_ECPKPARAMETERS d2i_UC_ECPKPARAMETERS | ||
| 375 | #undef i2d_ECPKPARAMETERS | ||
| 376 | #define i2d_ECPKPARAMETERS i2d_UC_ECPKPARAMETERS | ||
| 377 | |||
| 256 | /* These functions do not seem to exist! However, I'm paranoid... | 378 | /* These functions do not seem to exist! However, I'm paranoid... |
| 257 | Original command in x509v3.h: | 379 | Original command in x509v3.h: |
| 258 | These functions are being redefined in another directory, | 380 | These functions are being redefined in another directory, |
| @@ -273,3 +395,6 @@ | |||
| 273 | 395 | ||
| 274 | 396 | ||
| 275 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ | 397 | #endif /* ! defined HEADER_VMS_IDHACKS_H */ |
| 398 | /* This one clashes with CMS_data_create */ | ||
| 399 | #undef cms_Data_create | ||
| 400 | #define cms_Data_create priv_cms_Data_create | ||
