LTKCPP-- LLRP Toolkit C Plus Plus Library
symhacks.h
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 /*
00061  * Hacks to solve the problem with linkers incapable of handling very long
00062  * symbol names.  In the case of VMS, the limit is 31 characters on VMS for
00063  * VAX.
00064  */
00065 /*
00066  * Note that this affects util/libeay.num and util/ssleay.num...  you may
00067  * change those manually, but that's not recommended, as those files are
00068  * controlled centrally and updated on Unix, and the central definition may
00069  * disagree with yours, which in turn may come with shareable library
00070  * incompatibilities.
00071  */
00072 # ifdef OPENSSL_SYS_VMS
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
00085                                  * magic does the job */
00086 /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_SIGNER_INFO) */
00087 #   undef i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO
00088 #   define i2d_ASN1_SET_OF_PKCS7_SIGNER_INFO       i2d_ASN1_SET_OF_PKCS7_SIGINF
00089 #   undef d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO
00090 #   define d2i_ASN1_SET_OF_PKCS7_SIGNER_INFO       d2i_ASN1_SET_OF_PKCS7_SIGINF
00091 #  endif
00092 
00093 #  if 0                         /* No longer needed, since safestack macro
00094                                  * magic does the job */
00095 /* Hack the names created with DECLARE_ASN1_SET_OF(PKCS7_RECIP_INFO) */
00096 #   undef i2d_ASN1_SET_OF_PKCS7_RECIP_INFO
00097 #   define i2d_ASN1_SET_OF_PKCS7_RECIP_INFO        i2d_ASN1_SET_OF_PKCS7_RECINF
00098 #   undef d2i_ASN1_SET_OF_PKCS7_RECIP_INFO
00099 #   define d2i_ASN1_SET_OF_PKCS7_RECIP_INFO        d2i_ASN1_SET_OF_PKCS7_RECINF
00100 #  endif
00101 
00102 #  if 0                         /* No longer needed, since safestack macro
00103                                  * magic does the job */
00104 /* Hack the names created with DECLARE_ASN1_SET_OF(ACCESS_DESCRIPTION) */
00105 #   undef i2d_ASN1_SET_OF_ACCESS_DESCRIPTION
00106 #   define i2d_ASN1_SET_OF_ACCESS_DESCRIPTION      i2d_ASN1_SET_OF_ACC_DESC
00107 #   undef d2i_ASN1_SET_OF_ACCESS_DESCRIPTION
00108 #   define d2i_ASN1_SET_OF_ACCESS_DESCRIPTION      d2i_ASN1_SET_OF_ACC_DESC
00109 #  endif
00110 
00111 /* Hack the names created with DECLARE_PEM_rw(NETSCAPE_CERT_SEQUENCE) */
00112 #  undef PEM_read_NETSCAPE_CERT_SEQUENCE
00113 #  define PEM_read_NETSCAPE_CERT_SEQUENCE         PEM_read_NS_CERT_SEQ
00114 #  undef PEM_write_NETSCAPE_CERT_SEQUENCE
00115 #  define PEM_write_NETSCAPE_CERT_SEQUENCE        PEM_write_NS_CERT_SEQ
00116 #  undef PEM_read_bio_NETSCAPE_CERT_SEQUENCE
00117 #  define PEM_read_bio_NETSCAPE_CERT_SEQUENCE     PEM_read_bio_NS_CERT_SEQ
00118 #  undef PEM_write_bio_NETSCAPE_CERT_SEQUENCE
00119 #  define PEM_write_bio_NETSCAPE_CERT_SEQUENCE    PEM_write_bio_NS_CERT_SEQ
00120 #  undef PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE
00121 #  define PEM_write_cb_bio_NETSCAPE_CERT_SEQUENCE PEM_write_cb_bio_NS_CERT_SEQ
00122 
00123 /* Hack the names created with DECLARE_PEM_rw(PKCS8_PRIV_KEY_INFO) */
00124 #  undef PEM_read_PKCS8_PRIV_KEY_INFO
00125 #  define PEM_read_PKCS8_PRIV_KEY_INFO            PEM_read_P8_PRIV_KEY_INFO
00126 #  undef PEM_write_PKCS8_PRIV_KEY_INFO
00127 #  define PEM_write_PKCS8_PRIV_KEY_INFO           PEM_write_P8_PRIV_KEY_INFO
00128 #  undef PEM_read_bio_PKCS8_PRIV_KEY_INFO
00129 #  define PEM_read_bio_PKCS8_PRIV_KEY_INFO        PEM_read_bio_P8_PRIV_KEY_INFO
00130 #  undef PEM_write_bio_PKCS8_PRIV_KEY_INFO
00131 #  define PEM_write_bio_PKCS8_PRIV_KEY_INFO       PEM_write_bio_P8_PRIV_KEY_INFO
00132 #  undef PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO
00133 #  define PEM_write_cb_bio_PKCS8_PRIV_KEY_INFO    PEM_wrt_cb_bio_P8_PRIV_KEY_INFO
00134 
00135 /* Hack other PEM names */
00136 #  undef PEM_write_bio_PKCS8PrivateKey_nid
00137 #  define PEM_write_bio_PKCS8PrivateKey_nid       PEM_write_bio_PKCS8PrivKey_nid
00138 
00139 /* Hack some long X509 names */
00140 #  undef X509_REVOKED_get_ext_by_critical
00141 #  define X509_REVOKED_get_ext_by_critical        X509_REVOKED_get_ext_by_critic
00142 #  undef X509_policy_tree_get0_user_policies
00143 #  define X509_policy_tree_get0_user_policies     X509_pcy_tree_get0_usr_policies
00144 #  undef X509_policy_node_get0_qualifiers
00145 #  define X509_policy_node_get0_qualifiers        X509_pcy_node_get0_qualifiers
00146 #  undef X509_STORE_CTX_get_explicit_policy
00147 #  define X509_STORE_CTX_get_explicit_policy      X509_STORE_CTX_get_expl_policy
00148 #  undef X509_STORE_CTX_get0_current_issuer
00149 #  define X509_STORE_CTX_get0_current_issuer      X509_STORE_CTX_get0_cur_issuer
00150 
00151 /* Hack some long CRYPTO names */
00152 #  undef CRYPTO_set_dynlock_destroy_callback
00153 #  define CRYPTO_set_dynlock_destroy_callback     CRYPTO_set_dynlock_destroy_cb
00154 #  undef CRYPTO_set_dynlock_create_callback
00155 #  define CRYPTO_set_dynlock_create_callback      CRYPTO_set_dynlock_create_cb
00156 #  undef CRYPTO_set_dynlock_lock_callback
00157 #  define CRYPTO_set_dynlock_lock_callback        CRYPTO_set_dynlock_lock_cb
00158 #  undef CRYPTO_get_dynlock_lock_callback
00159 #  define CRYPTO_get_dynlock_lock_callback        CRYPTO_get_dynlock_lock_cb
00160 #  undef CRYPTO_get_dynlock_destroy_callback
00161 #  define CRYPTO_get_dynlock_destroy_callback     CRYPTO_get_dynlock_destroy_cb
00162 #  undef CRYPTO_get_dynlock_create_callback
00163 #  define CRYPTO_get_dynlock_create_callback      CRYPTO_get_dynlock_create_cb
00164 #  undef CRYPTO_set_locked_mem_ex_functions
00165 #  define CRYPTO_set_locked_mem_ex_functions      CRYPTO_set_locked_mem_ex_funcs
00166 #  undef CRYPTO_get_locked_mem_ex_functions
00167 #  define CRYPTO_get_locked_mem_ex_functions      CRYPTO_get_locked_mem_ex_funcs
00168 
00169 /* Hack some long SSL/TLS names */
00170 #  undef SSL_CTX_set_default_verify_paths
00171 #  define SSL_CTX_set_default_verify_paths        SSL_CTX_set_def_verify_paths
00172 #  undef SSL_get_ex_data_X509_STORE_CTX_idx
00173 #  define SSL_get_ex_data_X509_STORE_CTX_idx      SSL_get_ex_d_X509_STORE_CTX_idx
00174 #  undef SSL_add_file_cert_subjects_to_stack
00175 #  define SSL_add_file_cert_subjects_to_stack     SSL_add_file_cert_subjs_to_stk
00176 #  undef SSL_add_dir_cert_subjects_to_stack
00177 #  define SSL_add_dir_cert_subjects_to_stack      SSL_add_dir_cert_subjs_to_stk
00178 #  undef SSL_CTX_use_certificate_chain_file
00179 #  define SSL_CTX_use_certificate_chain_file      SSL_CTX_use_cert_chain_file
00180 #  undef SSL_CTX_set_cert_verify_callback
00181 #  define SSL_CTX_set_cert_verify_callback        SSL_CTX_set_cert_verify_cb
00182 #  undef SSL_CTX_set_default_passwd_cb_userdata
00183 #  define SSL_CTX_set_default_passwd_cb_userdata  SSL_CTX_set_def_passwd_cb_ud
00184 #  undef SSL_COMP_get_compression_methods
00185 #  define SSL_COMP_get_compression_methods        SSL_COMP_get_compress_methods
00186 #  undef SSL_COMP_set0_compression_methods
00187 #  define SSL_COMP_set0_compression_methods       SSL_COMP_set0_compress_methods
00188 #  undef SSL_COMP_free_compression_methods
00189 #  define SSL_COMP_free_compression_methods       SSL_COMP_free_compress_methods
00190 #  undef ssl_add_clienthello_renegotiate_ext
00191 #  define ssl_add_clienthello_renegotiate_ext     ssl_add_clienthello_reneg_ext
00192 #  undef ssl_add_serverhello_renegotiate_ext
00193 #  define ssl_add_serverhello_renegotiate_ext     ssl_add_serverhello_reneg_ext
00194 #  undef ssl_parse_clienthello_renegotiate_ext
00195 #  define ssl_parse_clienthello_renegotiate_ext   ssl_parse_clienthello_reneg_ext
00196 #  undef ssl_parse_serverhello_renegotiate_ext
00197 #  define ssl_parse_serverhello_renegotiate_ext   ssl_parse_serverhello_reneg_ext
00198 #  undef SSL_srp_server_param_with_username
00199 #  define SSL_srp_server_param_with_username      SSL_srp_server_param_with_un
00200 #  undef SSL_CTX_set_srp_client_pwd_callback
00201 #  define SSL_CTX_set_srp_client_pwd_callback     SSL_CTX_set_srp_client_pwd_cb
00202 #  undef SSL_CTX_set_srp_verify_param_callback
00203 #  define SSL_CTX_set_srp_verify_param_callback   SSL_CTX_set_srp_vfy_param_cb
00204 #  undef SSL_CTX_set_srp_username_callback
00205 #  define SSL_CTX_set_srp_username_callback       SSL_CTX_set_srp_un_cb
00206 #  undef ssl_add_clienthello_use_srtp_ext
00207 #  define ssl_add_clienthello_use_srtp_ext        ssl_add_clihello_use_srtp_ext
00208 #  undef ssl_add_serverhello_use_srtp_ext
00209 #  define ssl_add_serverhello_use_srtp_ext        ssl_add_serhello_use_srtp_ext
00210 #  undef ssl_parse_clienthello_use_srtp_ext
00211 #  define ssl_parse_clienthello_use_srtp_ext      ssl_parse_clihello_use_srtp_ext
00212 #  undef ssl_parse_serverhello_use_srtp_ext
00213 #  define ssl_parse_serverhello_use_srtp_ext      ssl_parse_serhello_use_srtp_ext
00214 #  undef SSL_CTX_set_next_protos_advertised_cb
00215 #  define SSL_CTX_set_next_protos_advertised_cb   SSL_CTX_set_next_protos_adv_cb
00216 #  undef SSL_CTX_set_next_proto_select_cb
00217 #  define SSL_CTX_set_next_proto_select_cb        SSL_CTX_set_next_proto_sel_cb
00218 
00219 #  undef tls1_send_server_supplemental_data
00220 #  define tls1_send_server_supplemental_data      tls1_send_server_suppl_data
00221 #  undef tls1_send_client_supplemental_data
00222 #  define tls1_send_client_supplemental_data      tls1_send_client_suppl_data
00223 #  undef tls1_get_server_supplemental_data
00224 #  define tls1_get_server_supplemental_data       tls1_get_server_suppl_data
00225 #  undef tls1_get_client_supplemental_data
00226 #  define tls1_get_client_supplemental_data       tls1_get_client_suppl_data
00227 
00228 #  undef ssl3_cbc_record_digest_supported
00229 #  define ssl3_cbc_record_digest_supported        ssl3_cbc_record_digest_support
00230 #  undef ssl_check_clienthello_tlsext_late
00231 #  define ssl_check_clienthello_tlsext_late       ssl_check_clihello_tlsext_late
00232 #  undef ssl_check_clienthello_tlsext_early
00233 #  define ssl_check_clienthello_tlsext_early      ssl_check_clihello_tlsext_early
00234 
00235 /* Hack some RSA long names */
00236 #  undef RSA_padding_check_PKCS1_OAEP_mgf1
00237 #  define RSA_padding_check_PKCS1_OAEP_mgf1       RSA_pad_check_PKCS1_OAEP_mgf1
00238 
00239 /* Hack some ENGINE long names */
00240 #  undef ENGINE_get_default_BN_mod_exp_crt
00241 #  define ENGINE_get_default_BN_mod_exp_crt       ENGINE_get_def_BN_mod_exp_crt
00242 #  undef ENGINE_set_default_BN_mod_exp_crt
00243 #  define ENGINE_set_default_BN_mod_exp_crt       ENGINE_set_def_BN_mod_exp_crt
00244 #  undef ENGINE_set_load_privkey_function
00245 #  define ENGINE_set_load_privkey_function        ENGINE_set_load_privkey_fn
00246 #  undef ENGINE_get_load_privkey_function
00247 #  define ENGINE_get_load_privkey_function        ENGINE_get_load_privkey_fn
00248 #  undef ENGINE_unregister_pkey_asn1_meths
00249 #  define ENGINE_unregister_pkey_asn1_meths       ENGINE_unreg_pkey_asn1_meths
00250 #  undef ENGINE_register_all_pkey_asn1_meths
00251 #  define ENGINE_register_all_pkey_asn1_meths     ENGINE_reg_all_pkey_asn1_meths
00252 #  undef ENGINE_set_default_pkey_asn1_meths
00253 #  define ENGINE_set_default_pkey_asn1_meths      ENGINE_set_def_pkey_asn1_meths
00254 #  undef ENGINE_get_pkey_asn1_meth_engine
00255 #  define ENGINE_get_pkey_asn1_meth_engine        ENGINE_get_pkey_asn1_meth_eng
00256 #  undef ENGINE_set_load_ssl_client_cert_function
00257 #  define ENGINE_set_load_ssl_client_cert_function \
00258                                                 ENGINE_set_ld_ssl_clnt_cert_fn
00259 #  undef ENGINE_get_ssl_client_cert_function
00260 #  define ENGINE_get_ssl_client_cert_function     ENGINE_get_ssl_client_cert_fn
00261 
00262 /* Hack some long OCSP names */
00263 #  undef OCSP_REQUEST_get_ext_by_critical
00264 #  define OCSP_REQUEST_get_ext_by_critical        OCSP_REQUEST_get_ext_by_crit
00265 #  undef OCSP_BASICRESP_get_ext_by_critical
00266 #  define OCSP_BASICRESP_get_ext_by_critical      OCSP_BASICRESP_get_ext_by_crit
00267 #  undef OCSP_SINGLERESP_get_ext_by_critical
00268 #  define OCSP_SINGLERESP_get_ext_by_critical     OCSP_SINGLERESP_get_ext_by_crit
00269 
00270 /* Hack some long DES names */
00271 #  undef _ossl_old_des_ede3_cfb64_encrypt
00272 #  define _ossl_old_des_ede3_cfb64_encrypt        _ossl_odes_ede3_cfb64_encrypt
00273 #  undef _ossl_old_des_ede3_ofb64_encrypt
00274 #  define _ossl_old_des_ede3_ofb64_encrypt        _ossl_odes_ede3_ofb64_encrypt
00275 
00276 /* Hack some long EVP names */
00277 #  undef OPENSSL_add_all_algorithms_noconf
00278 #  define OPENSSL_add_all_algorithms_noconf       OPENSSL_add_all_algo_noconf
00279 #  undef OPENSSL_add_all_algorithms_conf
00280 #  define OPENSSL_add_all_algorithms_conf         OPENSSL_add_all_algo_conf
00281 #  undef EVP_PKEY_meth_set_verify_recover
00282 #  define EVP_PKEY_meth_set_verify_recover        EVP_PKEY_meth_set_vrfy_recover
00283 
00284 /* Hack some long EC names */
00285 #  undef EC_GROUP_set_point_conversion_form
00286 #  define EC_GROUP_set_point_conversion_form      EC_GROUP_set_point_conv_form
00287 #  undef EC_GROUP_get_point_conversion_form
00288 #  define EC_GROUP_get_point_conversion_form      EC_GROUP_get_point_conv_form
00289 #  undef EC_GROUP_clear_free_all_extra_data
00290 #  define EC_GROUP_clear_free_all_extra_data      EC_GROUP_clr_free_all_xtra_data
00291 #  undef EC_KEY_set_public_key_affine_coordinates
00292 #  define EC_KEY_set_public_key_affine_coordinates \
00293                                                 EC_KEY_set_pub_key_aff_coords
00294 #  undef EC_POINT_set_Jprojective_coordinates_GFp
00295 #  define EC_POINT_set_Jprojective_coordinates_GFp \
00296                                                 EC_POINT_set_Jproj_coords_GFp
00297 #  undef EC_POINT_get_Jprojective_coordinates_GFp
00298 #  define EC_POINT_get_Jprojective_coordinates_GFp \
00299                                                 EC_POINT_get_Jproj_coords_GFp
00300 #  undef EC_POINT_set_affine_coordinates_GFp
00301 #  define EC_POINT_set_affine_coordinates_GFp     EC_POINT_set_affine_coords_GFp
00302 #  undef EC_POINT_get_affine_coordinates_GFp
00303 #  define EC_POINT_get_affine_coordinates_GFp     EC_POINT_get_affine_coords_GFp
00304 #  undef EC_POINT_set_compressed_coordinates_GFp
00305 #  define EC_POINT_set_compressed_coordinates_GFp EC_POINT_set_compr_coords_GFp
00306 #  undef EC_POINT_set_affine_coordinates_GF2m
00307 #  define EC_POINT_set_affine_coordinates_GF2m    EC_POINT_set_affine_coords_GF2m
00308 #  undef EC_POINT_get_affine_coordinates_GF2m
00309 #  define EC_POINT_get_affine_coordinates_GF2m    EC_POINT_get_affine_coords_GF2m
00310 #  undef EC_POINT_set_compressed_coordinates_GF2m
00311 #  define EC_POINT_set_compressed_coordinates_GF2m \
00312                                                 EC_POINT_set_compr_coords_GF2m
00313 #  undef ec_GF2m_simple_group_clear_finish
00314 #  define ec_GF2m_simple_group_clear_finish       ec_GF2m_simple_grp_clr_finish
00315 #  undef ec_GF2m_simple_group_check_discriminant
00316 #  define ec_GF2m_simple_group_check_discriminant ec_GF2m_simple_grp_chk_discrim
00317 #  undef ec_GF2m_simple_point_clear_finish
00318 #  define ec_GF2m_simple_point_clear_finish       ec_GF2m_simple_pt_clr_finish
00319 #  undef ec_GF2m_simple_point_set_to_infinity
00320 #  define ec_GF2m_simple_point_set_to_infinity    ec_GF2m_simple_pt_set_to_inf
00321 #  undef ec_GF2m_simple_points_make_affine
00322 #  define ec_GF2m_simple_points_make_affine       ec_GF2m_simple_pts_make_affine
00323 #  undef ec_GF2m_simple_point_set_affine_coordinates
00324 #  define ec_GF2m_simple_point_set_affine_coordinates \
00325                                                 ec_GF2m_smp_pt_set_af_coords
00326 #  undef ec_GF2m_simple_point_get_affine_coordinates
00327 #  define ec_GF2m_simple_point_get_affine_coordinates \
00328                                                 ec_GF2m_smp_pt_get_af_coords
00329 #  undef ec_GF2m_simple_set_compressed_coordinates
00330 #  define ec_GF2m_simple_set_compressed_coordinates \
00331                                                 ec_GF2m_smp_set_compr_coords
00332 #  undef ec_GFp_simple_group_set_curve_GFp
00333 #  define ec_GFp_simple_group_set_curve_GFp       ec_GFp_simple_grp_set_curve_GFp
00334 #  undef ec_GFp_simple_group_get_curve_GFp
00335 #  define ec_GFp_simple_group_get_curve_GFp       ec_GFp_simple_grp_get_curve_GFp
00336 #  undef ec_GFp_simple_group_clear_finish
00337 #  define ec_GFp_simple_group_clear_finish        ec_GFp_simple_grp_clear_finish
00338 #  undef ec_GFp_simple_group_set_generator
00339 #  define ec_GFp_simple_group_set_generator       ec_GFp_simple_grp_set_generator
00340 #  undef ec_GFp_simple_group_get0_generator
00341 #  define ec_GFp_simple_group_get0_generator      ec_GFp_simple_grp_gt0_generator
00342 #  undef ec_GFp_simple_group_get_cofactor
00343 #  define ec_GFp_simple_group_get_cofactor        ec_GFp_simple_grp_get_cofactor
00344 #  undef ec_GFp_simple_point_clear_finish
00345 #  define ec_GFp_simple_point_clear_finish        ec_GFp_simple_pt_clear_finish
00346 #  undef ec_GFp_simple_point_set_to_infinity
00347 #  define ec_GFp_simple_point_set_to_infinity     ec_GFp_simple_pt_set_to_inf
00348 #  undef ec_GFp_simple_points_make_affine
00349 #  define ec_GFp_simple_points_make_affine        ec_GFp_simple_pts_make_affine
00350 #  undef ec_GFp_simple_set_Jprojective_coordinates_GFp
00351 #  define ec_GFp_simple_set_Jprojective_coordinates_GFp \
00352                                                 ec_GFp_smp_set_Jproj_coords_GFp
00353 #  undef ec_GFp_simple_get_Jprojective_coordinates_GFp
00354 #  define ec_GFp_simple_get_Jprojective_coordinates_GFp \
00355                                                 ec_GFp_smp_get_Jproj_coords_GFp
00356 #  undef ec_GFp_simple_point_set_affine_coordinates_GFp
00357 #  define ec_GFp_simple_point_set_affine_coordinates_GFp \
00358                                                 ec_GFp_smp_pt_set_af_coords_GFp
00359 #  undef ec_GFp_simple_point_get_affine_coordinates_GFp
00360 #  define ec_GFp_simple_point_get_affine_coordinates_GFp \
00361                                                 ec_GFp_smp_pt_get_af_coords_GFp
00362 #  undef ec_GFp_simple_set_compressed_coordinates_GFp
00363 #  define ec_GFp_simple_set_compressed_coordinates_GFp \
00364                                                 ec_GFp_smp_set_compr_coords_GFp
00365 #  undef ec_GFp_simple_point_set_affine_coordinates
00366 #  define ec_GFp_simple_point_set_affine_coordinates \
00367                                                 ec_GFp_smp_pt_set_af_coords
00368 #  undef ec_GFp_simple_point_get_affine_coordinates
00369 #  define ec_GFp_simple_point_get_affine_coordinates \
00370                                                 ec_GFp_smp_pt_get_af_coords
00371 #  undef ec_GFp_simple_set_compressed_coordinates
00372 #  define ec_GFp_simple_set_compressed_coordinates \
00373                                                 ec_GFp_smp_set_compr_coords
00374 #  undef ec_GFp_simple_group_check_discriminant
00375 #  define ec_GFp_simple_group_check_discriminant  ec_GFp_simple_grp_chk_discrim
00376 
00377 /* Hack som long STORE names */
00378 #  undef STORE_method_set_initialise_function
00379 #  define STORE_method_set_initialise_function    STORE_meth_set_initialise_fn
00380 #  undef STORE_method_set_cleanup_function
00381 #  define STORE_method_set_cleanup_function       STORE_meth_set_cleanup_fn
00382 #  undef STORE_method_set_generate_function
00383 #  define STORE_method_set_generate_function      STORE_meth_set_generate_fn
00384 #  undef STORE_method_set_modify_function
00385 #  define STORE_method_set_modify_function        STORE_meth_set_modify_fn
00386 #  undef STORE_method_set_revoke_function
00387 #  define STORE_method_set_revoke_function        STORE_meth_set_revoke_fn
00388 #  undef STORE_method_set_delete_function
00389 #  define STORE_method_set_delete_function        STORE_meth_set_delete_fn
00390 #  undef STORE_method_set_list_start_function
00391 #  define STORE_method_set_list_start_function    STORE_meth_set_list_start_fn
00392 #  undef STORE_method_set_list_next_function
00393 #  define STORE_method_set_list_next_function     STORE_meth_set_list_next_fn
00394 #  undef STORE_method_set_list_end_function
00395 #  define STORE_method_set_list_end_function      STORE_meth_set_list_end_fn
00396 #  undef STORE_method_set_update_store_function
00397 #  define STORE_method_set_update_store_function  STORE_meth_set_update_store_fn
00398 #  undef STORE_method_set_lock_store_function
00399 #  define STORE_method_set_lock_store_function    STORE_meth_set_lock_store_fn
00400 #  undef STORE_method_set_unlock_store_function
00401 #  define STORE_method_set_unlock_store_function  STORE_meth_set_unlock_store_fn
00402 #  undef STORE_method_get_initialise_function
00403 #  define STORE_method_get_initialise_function    STORE_meth_get_initialise_fn
00404 #  undef STORE_method_get_cleanup_function
00405 #  define STORE_method_get_cleanup_function       STORE_meth_get_cleanup_fn
00406 #  undef STORE_method_get_generate_function
00407 #  define STORE_method_get_generate_function      STORE_meth_get_generate_fn
00408 #  undef STORE_method_get_modify_function
00409 #  define STORE_method_get_modify_function        STORE_meth_get_modify_fn
00410 #  undef STORE_method_get_revoke_function
00411 #  define STORE_method_get_revoke_function        STORE_meth_get_revoke_fn
00412 #  undef STORE_method_get_delete_function
00413 #  define STORE_method_get_delete_function        STORE_meth_get_delete_fn
00414 #  undef STORE_method_get_list_start_function
00415 #  define STORE_method_get_list_start_function    STORE_meth_get_list_start_fn
00416 #  undef STORE_method_get_list_next_function
00417 #  define STORE_method_get_list_next_function     STORE_meth_get_list_next_fn
00418 #  undef STORE_method_get_list_end_function
00419 #  define STORE_method_get_list_end_function      STORE_meth_get_list_end_fn
00420 #  undef STORE_method_get_update_store_function
00421 #  define STORE_method_get_update_store_function  STORE_meth_get_update_store_fn
00422 #  undef STORE_method_get_lock_store_function
00423 #  define STORE_method_get_lock_store_function    STORE_meth_get_lock_store_fn
00424 #  undef STORE_method_get_unlock_store_function
00425 #  define STORE_method_get_unlock_store_function  STORE_meth_get_unlock_store_fn
00426 
00427 /* Hack some long TS names */
00428 #  undef TS_RESP_CTX_set_status_info_cond
00429 #  define TS_RESP_CTX_set_status_info_cond        TS_RESP_CTX_set_stat_info_cond
00430 #  undef TS_RESP_CTX_set_clock_precision_digits
00431 #  define TS_RESP_CTX_set_clock_precision_digits  TS_RESP_CTX_set_clk_prec_digits
00432 #  undef TS_CONF_set_clock_precision_digits
00433 #  define TS_CONF_set_clock_precision_digits      TS_CONF_set_clk_prec_digits
00434 
00435 /* Hack some long CMS names */
00436 #  undef CMS_RecipientInfo_ktri_get0_algs
00437 #  define CMS_RecipientInfo_ktri_get0_algs        CMS_RecipInfo_ktri_get0_algs
00438 #  undef CMS_RecipientInfo_ktri_get0_signer_id
00439 #  define CMS_RecipientInfo_ktri_get0_signer_id   CMS_RecipInfo_ktri_get0_sigr_id
00440 #  undef CMS_OtherRevocationInfoFormat_it
00441 #  define CMS_OtherRevocationInfoFormat_it        CMS_OtherRevocInfoFormat_it
00442 #  undef CMS_KeyAgreeRecipientIdentifier_it
00443 #  define CMS_KeyAgreeRecipientIdentifier_it      CMS_KeyAgreeRecipIdentifier_it
00444 #  undef CMS_OriginatorIdentifierOrKey_it
00445 #  define CMS_OriginatorIdentifierOrKey_it        CMS_OriginatorIdOrKey_it
00446 #  undef cms_SignerIdentifier_get0_signer_id
00447 #  define cms_SignerIdentifier_get0_signer_id     cms_SignerId_get0_signer_id
00448 #  undef CMS_RecipientInfo_kari_get0_orig_id
00449 #  define CMS_RecipientInfo_kari_get0_orig_id     CMS_RecipInfo_kari_get0_orig_id
00450 #  undef CMS_RecipientInfo_kari_get0_reks
00451 #  define CMS_RecipientInfo_kari_get0_reks        CMS_RecipInfo_kari_get0_reks
00452 #  undef CMS_RecipientEncryptedKey_cert_cmp
00453 #  define CMS_RecipientEncryptedKey_cert_cmp      CMS_RecipEncryptedKey_cert_cmp
00454 #  undef CMS_RecipientInfo_kari_set0_pkey
00455 #  define CMS_RecipientInfo_kari_set0_pkey        CMS_RecipInfo_kari_set0_pkey
00456 #  undef CMS_RecipientEncryptedKey_get0_id
00457 #  define CMS_RecipientEncryptedKey_get0_id       CMS_RecipEncryptedKey_get0_id
00458 #  undef CMS_RecipientInfo_kari_orig_id_cmp
00459 #  define CMS_RecipientInfo_kari_orig_id_cmp      CMS_RecipInfo_kari_orig_id_cmp
00460 
00461 /* Hack some long DTLS1 names */
00462 #  undef dtls1_retransmit_buffered_messages
00463 #  define dtls1_retransmit_buffered_messages      dtls1_retransmit_buffered_msgs
00464 
00465 /* Hack some long SRP names */
00466 #  undef SRP_generate_server_master_secret
00467 #  define SRP_generate_server_master_secret       SRP_gen_server_master_secret
00468 #  undef SRP_generate_client_master_secret
00469 #  define SRP_generate_client_master_secret       SRP_gen_client_master_secret
00470 
00471 /* Hack some long UI names */
00472 #  undef UI_method_get_prompt_constructor
00473 #  define UI_method_get_prompt_constructor        UI_method_get_prompt_constructr
00474 #  undef UI_method_set_prompt_constructor
00475 #  define UI_method_set_prompt_constructor        UI_method_set_prompt_constructr
00476 
00477 # endif                         /* defined OPENSSL_SYS_VMS */
00478 
00479 /* Case insensitive linking causes problems.... */
00480 # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_OS2)
00481 #  undef ERR_load_CRYPTO_strings
00482 #  define ERR_load_CRYPTO_strings                 ERR_load_CRYPTOlib_strings
00483 #  undef OCSP_crlID_new
00484 #  define OCSP_crlID_new                          OCSP_crlID2_new
00485 
00486 #  undef d2i_ECPARAMETERS
00487 #  define d2i_ECPARAMETERS                        d2i_UC_ECPARAMETERS
00488 #  undef i2d_ECPARAMETERS
00489 #  define i2d_ECPARAMETERS                        i2d_UC_ECPARAMETERS
00490 #  undef d2i_ECPKPARAMETERS
00491 #  define d2i_ECPKPARAMETERS                      d2i_UC_ECPKPARAMETERS
00492 #  undef i2d_ECPKPARAMETERS
00493 #  define i2d_ECPKPARAMETERS                      i2d_UC_ECPKPARAMETERS
00494 
00495 /*
00496  * These functions do not seem to exist! However, I'm paranoid... Original
00497  * command in x509v3.h: These functions are being redefined in another
00498  * directory, and clash when the linker is case-insensitive, so let's hide
00499  * them a little, by giving them an extra 'o' at the beginning of the name...
00500  */
00501 #  undef X509v3_cleanup_extensions
00502 #  define X509v3_cleanup_extensions               oX509v3_cleanup_extensions
00503 #  undef X509v3_add_extension
00504 #  define X509v3_add_extension                    oX509v3_add_extension
00505 #  undef X509v3_add_netscape_extensions
00506 #  define X509v3_add_netscape_extensions          oX509v3_add_netscape_extensions
00507 #  undef X509v3_add_standard_extensions
00508 #  define X509v3_add_standard_extensions          oX509v3_add_standard_extensions
00509 
00510 /* This one clashes with CMS_data_create */
00511 #  undef cms_Data_create
00512 #  define cms_Data_create                         priv_cms_Data_create
00513 
00514 # endif
00515 
00516 #endif                          /* ! defined HEADER_VMS_IDHACKS_H */