symhacks.h (194206) | symhacks.h (205128) |
---|---|
1/* ==================================================================== 2 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55#ifndef HEADER_SYMHACKS_H 56#define HEADER_SYMHACKS_H 57 58#include <openssl/e_os2.h> 59 60/* Hacks to solve the problem with linkers incapable of handling very long 61 symbol names. In the case of VMS, the limit is 31 characters on VMS for 62 VAX. */ | 1/* ==================================================================== 2 * Copyright (c) 1999 The OpenSSL Project. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55#ifndef HEADER_SYMHACKS_H 56#define HEADER_SYMHACKS_H 57 58#include <openssl/e_os2.h> 59 60/* Hacks to solve the problem with linkers incapable of handling very long 61 symbol names. In the case of VMS, the limit is 31 characters on VMS for 62 VAX. */ |
63/* Note that this affects util/libeay.num and util/ssleay.num... you may 64 change those manually, but that's not recommended, as those files are 65 controlled centrally and updated on Unix, and the central definition 66 may disagree with yours, which in turn may come with shareable library 67 incompatibilities. */ |
|
63#ifdef OPENSSL_SYS_VMS 64 65/* Hack a long name in crypto/cryptlib.c */ 66#undef int_CRYPTO_set_do_dynlock_callback 67#define int_CRYPTO_set_do_dynlock_callback int_CRYPTO_set_do_dynlock_cb 68 69/* Hack a long name in crypto/ex_data.c */ 70#undef CRYPTO_get_ex_data_implementation --- 61 unchanged lines hidden (view full) --- 132#undef X509_REVOKED_get_ext_by_critical 133#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic 134#undef X509_policy_tree_get0_user_policies 135#define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies 136#undef X509_policy_node_get0_qualifiers 137#define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers 138#undef X509_STORE_CTX_get_explicit_policy 139#define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy | 68#ifdef OPENSSL_SYS_VMS 69 70/* Hack a long name in crypto/cryptlib.c */ 71#undef int_CRYPTO_set_do_dynlock_callback 72#define int_CRYPTO_set_do_dynlock_callback int_CRYPTO_set_do_dynlock_cb 73 74/* Hack a long name in crypto/ex_data.c */ 75#undef CRYPTO_get_ex_data_implementation --- 61 unchanged lines hidden (view full) --- 137#undef X509_REVOKED_get_ext_by_critical 138#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic 139#undef X509_policy_tree_get0_user_policies 140#define X509_policy_tree_get0_user_policies X509_pcy_tree_get0_usr_policies 141#undef X509_policy_node_get0_qualifiers 142#define X509_policy_node_get0_qualifiers X509_pcy_node_get0_qualifiers 143#undef X509_STORE_CTX_get_explicit_policy 144#define X509_STORE_CTX_get_explicit_policy X509_STORE_CTX_get_expl_policy |
145#undef X509_STORE_CTX_get0_current_issuer 146#define X509_STORE_CTX_get0_current_issuer X509_STORE_CTX_get0_cur_issuer |
|
140 141/* Hack some long CRYPTO names */ 142#undef CRYPTO_set_dynlock_destroy_callback 143#define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb 144#undef CRYPTO_set_dynlock_create_callback 145#define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb 146#undef CRYPTO_set_dynlock_lock_callback 147#define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb --- 21 unchanged lines hidden (view full) --- 169#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file 170#undef SSL_CTX_set_cert_verify_callback 171#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb 172#undef SSL_CTX_set_default_passwd_cb_userdata 173#define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud 174#undef SSL_COMP_get_compression_methods 175#define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods 176 | 147 148/* Hack some long CRYPTO names */ 149#undef CRYPTO_set_dynlock_destroy_callback 150#define CRYPTO_set_dynlock_destroy_callback CRYPTO_set_dynlock_destroy_cb 151#undef CRYPTO_set_dynlock_create_callback 152#define CRYPTO_set_dynlock_create_callback CRYPTO_set_dynlock_create_cb 153#undef CRYPTO_set_dynlock_lock_callback 154#define CRYPTO_set_dynlock_lock_callback CRYPTO_set_dynlock_lock_cb --- 21 unchanged lines hidden (view full) --- 176#define SSL_CTX_use_certificate_chain_file SSL_CTX_use_cert_chain_file 177#undef SSL_CTX_set_cert_verify_callback 178#define SSL_CTX_set_cert_verify_callback SSL_CTX_set_cert_verify_cb 179#undef SSL_CTX_set_default_passwd_cb_userdata 180#define SSL_CTX_set_default_passwd_cb_userdata SSL_CTX_set_def_passwd_cb_ud 181#undef SSL_COMP_get_compression_methods 182#define SSL_COMP_get_compression_methods SSL_COMP_get_compress_methods 183 |
184#undef ssl_add_clienthello_renegotiate_ext 185#define ssl_add_clienthello_renegotiate_ext ssl_add_clienthello_reneg_ext 186#undef ssl_add_serverhello_renegotiate_ext 187#define ssl_add_serverhello_renegotiate_ext ssl_add_serverhello_reneg_ext 188#undef ssl_parse_clienthello_renegotiate_ext 189#define ssl_parse_clienthello_renegotiate_ext ssl_parse_clienthello_reneg_ext 190#undef ssl_parse_serverhello_renegotiate_ext 191#define ssl_parse_serverhello_renegotiate_ext ssl_parse_serverhello_reneg_ext 192 |
|
177/* Hack some long ENGINE names */ 178#undef ENGINE_get_default_BN_mod_exp_crt 179#define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt 180#undef ENGINE_set_default_BN_mod_exp_crt 181#define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt 182#undef ENGINE_set_load_privkey_function 183#define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn 184#undef ENGINE_get_load_privkey_function --- 175 unchanged lines hidden (view full) --- 360#define CMS_OtherRevocationInfoFormat_it CMS_OtherRevocInfoFormat_it 361#undef CMS_KeyAgreeRecipientIdentifier_it 362#define CMS_KeyAgreeRecipientIdentifier_it CMS_KeyAgreeRecipIdentifier_it 363#undef CMS_OriginatorIdentifierOrKey_it 364#define CMS_OriginatorIdentifierOrKey_it CMS_OriginatorIdOrKey_it 365#undef cms_SignerIdentifier_get0_signer_id 366#define cms_SignerIdentifier_get0_signer_id cms_SignerId_get0_signer_id 367 | 193/* Hack some long ENGINE names */ 194#undef ENGINE_get_default_BN_mod_exp_crt 195#define ENGINE_get_default_BN_mod_exp_crt ENGINE_get_def_BN_mod_exp_crt 196#undef ENGINE_set_default_BN_mod_exp_crt 197#define ENGINE_set_default_BN_mod_exp_crt ENGINE_set_def_BN_mod_exp_crt 198#undef ENGINE_set_load_privkey_function 199#define ENGINE_set_load_privkey_function ENGINE_set_load_privkey_fn 200#undef ENGINE_get_load_privkey_function --- 175 unchanged lines hidden (view full) --- 376#define CMS_OtherRevocationInfoFormat_it CMS_OtherRevocInfoFormat_it 377#undef CMS_KeyAgreeRecipientIdentifier_it 378#define CMS_KeyAgreeRecipientIdentifier_it CMS_KeyAgreeRecipIdentifier_it 379#undef CMS_OriginatorIdentifierOrKey_it 380#define CMS_OriginatorIdentifierOrKey_it CMS_OriginatorIdOrKey_it 381#undef cms_SignerIdentifier_get0_signer_id 382#define cms_SignerIdentifier_get0_signer_id cms_SignerId_get0_signer_id 383 |
384/* Hack some long DTLS1 names */ 385#undef dtls1_retransmit_buffered_messages 386#define dtls1_retransmit_buffered_messages dtls1_retransmit_buffered_msgs 387 |
|
368#endif /* defined OPENSSL_SYS_VMS */ 369 370 371/* Case insensiteve linking causes problems.... */ 372#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) 373#undef ERR_load_CRYPTO_strings 374#define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 375#undef OCSP_crlID_new --- 34 unchanged lines hidden --- | 388#endif /* defined OPENSSL_SYS_VMS */ 389 390 391/* Case insensiteve linking causes problems.... */ 392#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2) 393#undef ERR_load_CRYPTO_strings 394#define ERR_load_CRYPTO_strings ERR_load_CRYPTOlib_strings 395#undef OCSP_crlID_new --- 34 unchanged lines hidden --- |