Provide other forms for symbols that are too long or that clash with others
[openssl.git] / crypto / symhacks.h
index 00d6e33f16174d6d9bef5edee79fbb9ad89547a4..c59e3bf5f01271b9e3c3180f01116aadf1fa34cb 100644 (file)
 #undef STORE_method_get_unlock_store_function
 #define STORE_method_get_unlock_store_function STORE_meth_get_unlock_store_fn
 
-/* Hack som long TS names */
+/* Hack some long TS names */
 #undef TS_RESP_CTX_set_status_info_cond
 #define TS_RESP_CTX_set_status_info_cond       TS_RESP_CTX_set_stat_info_cond
 #undef TS_RESP_CTX_set_clock_precision_digits
 #undef TS_CONF_set_clock_precision_digits
 #define TS_CONF_set_clock_precision_digits     TS_CONF_set_clk_prec_digits
 
+/* Hack some long CMS names */
+#undef CMS_RecipientInfo_ktri_get0_algs
+#define CMS_RecipientInfo_ktri_get0_algs       CMS_RecipInfo_ktri_get0_algs
+#undef CMS_RecipientInfo_ktri_get0_signer_id
+#define CMS_RecipientInfo_ktri_get0_signer_id  CMS_RecipInfo_ktri_get0_sigr_id
+#undef CMS_OtherRevocationInfoFormat_it
+#define CMS_OtherRevocationInfoFormat_it       CMS_OtherRevocInfoFormat_it
+#undef CMS_KeyAgreeRecipientIdentifier_it
+#define CMS_KeyAgreeRecipientIdentifier_it     CMS_KeyAgreeRecipIdentifier_it
+#undef CMS_OriginatorIdentifierOrKey_it
+#define CMS_OriginatorIdentifierOrKey_it       CMS_OriginatorIdOrKey_it
+#undef cms_SignerIdentifier_get0_signer_id
+#define cms_SignerIdentifier_get0_signer_id    cms_SignerId_get0_signer_id
+
 #endif /* defined OPENSSL_SYS_VMS */
 
 
 #undef X509v3_add_standard_extensions
 #define X509v3_add_standard_extensions         oX509v3_add_standard_extensions
 
+/* This one clashes with CMS_data_create */
+#undef cms_Data_create
+#define cms_Data_create                                priv_cms_Data_create
 
 #endif