summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/symhacks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/symhacks.h')
-rw-r--r--src/lib/libcrypto/symhacks.h129
1 files changed, 2 insertions, 127 deletions
diff --git a/src/lib/libcrypto/symhacks.h b/src/lib/libcrypto/symhacks.h
index 64528ad5c2..774162fec9 100644
--- a/src/lib/libcrypto/symhacks.h
+++ b/src/lib/libcrypto/symhacks.h
@@ -127,12 +127,6 @@
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
136 130
137/* Hack some long CRYPTO names */ 131/* Hack some long CRYPTO names */
138#undef CRYPTO_set_dynlock_destroy_callback 132#undef CRYPTO_set_dynlock_destroy_callback
@@ -159,16 +153,16 @@
159#define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx 153#define SSL_get_ex_data_X509_STORE_CTX_idx SSL_get_ex_d_X509_STORE_CTX_idx
160#undef SSL_add_file_cert_subjects_to_stack 154#undef SSL_add_file_cert_subjects_to_stack
161#define SSL_add_file_cert_subjects_to_stack SSL_add_file_cert_subjs_to_stk 155#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. */
162#undef SSL_add_dir_cert_subjects_to_stack 157#undef SSL_add_dir_cert_subjects_to_stack
163#define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk 158#define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_subjs_to_stk
159#endif
164#undef SSL_CTX_use_certificate_chain_file 160#undef SSL_CTX_use_certificate_chain_file
165#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file 161#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file
166#undef SSL_CTX_set_cert_verify_callback 162#undef SSL_CTX_set_cert_verify_callback
167#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb 163#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb
168#undef SSL_CTX_set_default_passwd_cb_userdata 164#undef SSL_CTX_set_default_passwd_cb_userdata
169#define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud 165#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
172 166
173/* Hack some long ENGINE names */ 167/* Hack some long ENGINE names */
174#undef ENGINE_get_default_BN_mod_exp_crt 168#undef ENGINE_get_default_BN_mod_exp_crt
@@ -201,12 +195,6 @@
201#define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf 195#define OPENSSL_add_all_algorithms_conf OPENSSL_add_all_algo_conf
202 196
203/* Hack some long EC names */ 197/* 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
210#undef EC_POINT_set_Jprojective_coordinates_GFp 198#undef EC_POINT_set_Jprojective_coordinates_GFp
211#define EC_POINT_set_Jprojective_coordinates_GFp \ 199#define EC_POINT_set_Jprojective_coordinates_GFp \
212 EC_POINT_set_Jproj_coords_GFp 200 EC_POINT_set_Jproj_coords_GFp
@@ -219,32 +207,6 @@
219#define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp 207#define EC_POINT_get_affine_coordinates_GFp EC_POINT_get_affine_coords_GFp
220#undef EC_POINT_set_compressed_coordinates_GFp 208#undef EC_POINT_set_compressed_coordinates_GFp
221#define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp 209#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
248#undef ec_GFp_simple_group_set_curve_GFp 210#undef ec_GFp_simple_group_set_curve_GFp
249#define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp 211#define ec_GFp_simple_group_set_curve_GFp ec_GFp_simple_grp_set_curve_GFp
250#undef ec_GFp_simple_group_get_curve_GFp 212#undef ec_GFp_simple_group_get_curve_GFp
@@ -280,81 +242,6 @@
280#undef ec_GFp_simple_set_compressed_coordinates_GFp 242#undef ec_GFp_simple_set_compressed_coordinates_GFp
281#define ec_GFp_simple_set_compressed_coordinates_GFp \ 243#define ec_GFp_simple_set_compressed_coordinates_GFp \
282 ec_GFp_smp_set_compr_coords_GFp 244 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
358 245
359#endif /* defined OPENSSL_SYS_VMS */ 246#endif /* defined OPENSSL_SYS_VMS */
360 247
@@ -366,15 +253,6 @@
366#undef OCSP_crlID_new 253#undef OCSP_crlID_new
367#define OCSP_crlID_new OCSP_crlID2_new 254#define OCSP_crlID_new OCSP_crlID2_new
368 255
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
378/* These functions do not seem to exist! However, I'm paranoid... 256/* These functions do not seem to exist! However, I'm paranoid...
379 Original command in x509v3.h: 257 Original command in x509v3.h:
380 These functions are being redefined in another directory, 258 These functions are being redefined in another directory,
@@ -395,6 +273,3 @@
395 273
396 274
397#endif /* ! defined HEADER_VMS_IDHACKS_H */ 275#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