require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_CMSERR_H)) {
    eval 'sub OPENSSL_CMSERR_H () {1;}' unless defined(&OPENSSL_CMSERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    unless(defined(&OPENSSL_NO_CMS)) {
	eval 'sub CMS_R_ADD_SIGNER_ERROR () {99;}' unless defined(&CMS_R_ADD_SIGNER_ERROR);
	eval 'sub CMS_R_ATTRIBUTE_ERROR () {161;}' unless defined(&CMS_R_ATTRIBUTE_ERROR);
	eval 'sub CMS_R_CERTIFICATE_ALREADY_PRESENT () {175;}' unless defined(&CMS_R_CERTIFICATE_ALREADY_PRESENT);
	eval 'sub CMS_R_CERTIFICATE_HAS_NO_KEYID () {160;}' unless defined(&CMS_R_CERTIFICATE_HAS_NO_KEYID);
	eval 'sub CMS_R_CERTIFICATE_VERIFY_ERROR () {100;}' unless defined(&CMS_R_CERTIFICATE_VERIFY_ERROR);
	eval 'sub CMS_R_CIPHER_AEAD_IN_ENVELOPED_DATA () {182;}' unless defined(&CMS_R_CIPHER_AEAD_IN_ENVELOPED_DATA);
	eval 'sub CMS_R_CIPHER_AEAD_SET_TAG_ERROR () {184;}' unless defined(&CMS_R_CIPHER_AEAD_SET_TAG_ERROR);
	eval 'sub CMS_R_CIPHER_GET_TAG () {185;}' unless defined(&CMS_R_CIPHER_GET_TAG);
	eval 'sub CMS_R_CIPHER_INITIALISATION_ERROR () {101;}' unless defined(&CMS_R_CIPHER_INITIALISATION_ERROR);
	eval 'sub CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR () {102;}' unless defined(&CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR);
	eval 'sub CMS_R_CMS_DATAFINAL_ERROR () {103;}' unless defined(&CMS_R_CMS_DATAFINAL_ERROR);
	eval 'sub CMS_R_CMS_LIB () {104;}' unless defined(&CMS_R_CMS_LIB);
	eval 'sub CMS_R_CONTENTIDENTIFIER_MISMATCH () {170;}' unless defined(&CMS_R_CONTENTIDENTIFIER_MISMATCH);
	eval 'sub CMS_R_CONTENT_NOT_FOUND () {105;}' unless defined(&CMS_R_CONTENT_NOT_FOUND);
	eval 'sub CMS_R_CONTENT_TYPE_MISMATCH () {171;}' unless defined(&CMS_R_CONTENT_TYPE_MISMATCH);
	eval 'sub CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA () {106;}' unless defined(&CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA);
	eval 'sub CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA () {107;}' unless defined(&CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA);
	eval 'sub CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA () {108;}' unless defined(&CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA);
	eval 'sub CMS_R_CONTENT_VERIFY_ERROR () {109;}' unless defined(&CMS_R_CONTENT_VERIFY_ERROR);
	eval 'sub CMS_R_CTRL_ERROR () {110;}' unless defined(&CMS_R_CTRL_ERROR);
	eval 'sub CMS_R_CTRL_FAILURE () {111;}' unless defined(&CMS_R_CTRL_FAILURE);
	eval 'sub CMS_R_DECODE_ERROR () {187;}' unless defined(&CMS_R_DECODE_ERROR);
	eval 'sub CMS_R_DECRYPT_ERROR () {112;}' unless defined(&CMS_R_DECRYPT_ERROR);
	eval 'sub CMS_R_ERROR_GETTING_PUBLIC_KEY () {113;}' unless defined(&CMS_R_ERROR_GETTING_PUBLIC_KEY);
	eval 'sub CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE () {114;}' unless defined(&CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE);
	eval 'sub CMS_R_ERROR_SETTING_KEY () {115;}' unless defined(&CMS_R_ERROR_SETTING_KEY);
	eval 'sub CMS_R_ERROR_SETTING_RECIPIENTINFO () {116;}' unless defined(&CMS_R_ERROR_SETTING_RECIPIENTINFO);
	eval 'sub CMS_R_ERROR_UNSUPPORTED_STATIC_KEY_AGREEMENT () {196;}' unless defined(&CMS_R_ERROR_UNSUPPORTED_STATIC_KEY_AGREEMENT);
	eval 'sub CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR () {183;}' unless defined(&CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR);
	eval 'sub CMS_R_INVALID_ENCRYPTED_KEY_LENGTH () {117;}' unless defined(&CMS_R_INVALID_ENCRYPTED_KEY_LENGTH);
	eval 'sub CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER () {176;}' unless defined(&CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER);
	eval 'sub CMS_R_INVALID_KEY_LENGTH () {118;}' unless defined(&CMS_R_INVALID_KEY_LENGTH);
	eval 'sub CMS_R_INVALID_LABEL () {190;}' unless defined(&CMS_R_INVALID_LABEL);
	eval 'sub CMS_R_INVALID_OAEP_PARAMETERS () {191;}' unless defined(&CMS_R_INVALID_OAEP_PARAMETERS);
	eval 'sub CMS_R_KDF_PARAMETER_ERROR () {186;}' unless defined(&CMS_R_KDF_PARAMETER_ERROR);
	eval 'sub CMS_R_MD_BIO_INIT_ERROR () {119;}' unless defined(&CMS_R_MD_BIO_INIT_ERROR);
	eval 'sub CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH () {120;}' unless defined(&CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH);
	eval 'sub CMS_R_MESSAGEDIGEST_WRONG_LENGTH () {121;}' unless defined(&CMS_R_MESSAGEDIGEST_WRONG_LENGTH);
	eval 'sub CMS_R_MSGSIGDIGEST_ERROR () {172;}' unless defined(&CMS_R_MSGSIGDIGEST_ERROR);
	eval 'sub CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE () {162;}' unless defined(&CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE);
	eval 'sub CMS_R_MSGSIGDIGEST_WRONG_LENGTH () {163;}' unless defined(&CMS_R_MSGSIGDIGEST_WRONG_LENGTH);
	eval 'sub CMS_R_NEED_ONE_SIGNER () {164;}' unless defined(&CMS_R_NEED_ONE_SIGNER);
	eval 'sub CMS_R_NOT_A_SIGNED_RECEIPT () {165;}' unless defined(&CMS_R_NOT_A_SIGNED_RECEIPT);
	eval 'sub CMS_R_NOT_ENCRYPTED_DATA () {122;}' unless defined(&CMS_R_NOT_ENCRYPTED_DATA);
	eval 'sub CMS_R_NOT_KEK () {123;}' unless defined(&CMS_R_NOT_KEK);
	eval 'sub CMS_R_NOT_KEY_AGREEMENT () {181;}' unless defined(&CMS_R_NOT_KEY_AGREEMENT);
	eval 'sub CMS_R_NOT_KEY_TRANSPORT () {124;}' unless defined(&CMS_R_NOT_KEY_TRANSPORT);
	eval 'sub CMS_R_NOT_PWRI () {177;}' unless defined(&CMS_R_NOT_PWRI);
	eval 'sub CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE () {125;}' unless defined(&CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE);
	eval 'sub CMS_R_NO_CIPHER () {126;}' unless defined(&CMS_R_NO_CIPHER);
	eval 'sub CMS_R_NO_CONTENT () {127;}' unless defined(&CMS_R_NO_CONTENT);
	eval 'sub CMS_R_NO_CONTENT_TYPE () {173;}' unless defined(&CMS_R_NO_CONTENT_TYPE);
	eval 'sub CMS_R_NO_DEFAULT_DIGEST () {128;}' unless defined(&CMS_R_NO_DEFAULT_DIGEST);
	eval 'sub CMS_R_NO_DIGEST_SET () {129;}' unless defined(&CMS_R_NO_DIGEST_SET);
	eval 'sub CMS_R_NO_KEY () {130;}' unless defined(&CMS_R_NO_KEY);
	eval 'sub CMS_R_NO_KEY_OR_CERT () {174;}' unless defined(&CMS_R_NO_KEY_OR_CERT);
	eval 'sub CMS_R_NO_MATCHING_DIGEST () {131;}' unless defined(&CMS_R_NO_MATCHING_DIGEST);
	eval 'sub CMS_R_NO_MATCHING_RECIPIENT () {132;}' unless defined(&CMS_R_NO_MATCHING_RECIPIENT);
	eval 'sub CMS_R_NO_MATCHING_SIGNATURE () {166;}' unless defined(&CMS_R_NO_MATCHING_SIGNATURE);
	eval 'sub CMS_R_NO_MSGSIGDIGEST () {167;}' unless defined(&CMS_R_NO_MSGSIGDIGEST);
	eval 'sub CMS_R_NO_PASSWORD () {178;}' unless defined(&CMS_R_NO_PASSWORD);
	eval 'sub CMS_R_NO_PRIVATE_KEY () {133;}' unless defined(&CMS_R_NO_PRIVATE_KEY);
	eval 'sub CMS_R_NO_PUBLIC_KEY () {134;}' unless defined(&CMS_R_NO_PUBLIC_KEY);
	eval 'sub CMS_R_NO_RECEIPT_REQUEST () {168;}' unless defined(&CMS_R_NO_RECEIPT_REQUEST);
	eval 'sub CMS_R_NO_SIGNERS () {135;}' unless defined(&CMS_R_NO_SIGNERS);
	eval 'sub CMS_R_PEER_KEY_ERROR () {188;}' unless defined(&CMS_R_PEER_KEY_ERROR);
	eval 'sub CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE () {136;}' unless defined(&CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE);
	eval 'sub CMS_R_RECEIPT_DECODE_ERROR () {169;}' unless defined(&CMS_R_RECEIPT_DECODE_ERROR);
	eval 'sub CMS_R_RECIPIENT_ERROR () {137;}' unless defined(&CMS_R_RECIPIENT_ERROR);
	eval 'sub CMS_R_SHARED_INFO_ERROR () {189;}' unless defined(&CMS_R_SHARED_INFO_ERROR);
	eval 'sub CMS_R_SIGNER_CERTIFICATE_NOT_FOUND () {138;}' unless defined(&CMS_R_SIGNER_CERTIFICATE_NOT_FOUND);
	eval 'sub CMS_R_SIGNFINAL_ERROR () {139;}' unless defined(&CMS_R_SIGNFINAL_ERROR);
	eval 'sub CMS_R_SMIME_TEXT_ERROR () {140;}' unless defined(&CMS_R_SMIME_TEXT_ERROR);
	eval 'sub CMS_R_STORE_INIT_ERROR () {141;}' unless defined(&CMS_R_STORE_INIT_ERROR);
	eval 'sub CMS_R_TYPE_NOT_COMPRESSED_DATA () {142;}' unless defined(&CMS_R_TYPE_NOT_COMPRESSED_DATA);
	eval 'sub CMS_R_TYPE_NOT_DATA () {143;}' unless defined(&CMS_R_TYPE_NOT_DATA);
	eval 'sub CMS_R_TYPE_NOT_DIGESTED_DATA () {144;}' unless defined(&CMS_R_TYPE_NOT_DIGESTED_DATA);
	eval 'sub CMS_R_TYPE_NOT_ENCRYPTED_DATA () {145;}' unless defined(&CMS_R_TYPE_NOT_ENCRYPTED_DATA);
	eval 'sub CMS_R_TYPE_NOT_ENVELOPED_DATA () {146;}' unless defined(&CMS_R_TYPE_NOT_ENVELOPED_DATA);
	eval 'sub CMS_R_UNABLE_TO_FINALIZE_CONTEXT () {147;}' unless defined(&CMS_R_UNABLE_TO_FINALIZE_CONTEXT);
	eval 'sub CMS_R_UNKNOWN_CIPHER () {148;}' unless defined(&CMS_R_UNKNOWN_CIPHER);
	eval 'sub CMS_R_UNKNOWN_DIGEST_ALGORITHM () {149;}' unless defined(&CMS_R_UNKNOWN_DIGEST_ALGORITHM);
	eval 'sub CMS_R_UNKNOWN_ID () {150;}' unless defined(&CMS_R_UNKNOWN_ID);
	eval 'sub CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM () {151;}' unless defined(&CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM);
	eval 'sub CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM () {194;}' unless defined(&CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM);
	eval 'sub CMS_R_UNSUPPORTED_CONTENT_TYPE () {152;}' unless defined(&CMS_R_UNSUPPORTED_CONTENT_TYPE);
	eval 'sub CMS_R_UNSUPPORTED_ENCRYPTION_TYPE () {192;}' unless defined(&CMS_R_UNSUPPORTED_ENCRYPTION_TYPE);
	eval 'sub CMS_R_UNSUPPORTED_KEK_ALGORITHM () {153;}' unless defined(&CMS_R_UNSUPPORTED_KEK_ALGORITHM);
	eval 'sub CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM () {179;}' unless defined(&CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM);
	eval 'sub CMS_R_UNSUPPORTED_LABEL_SOURCE () {193;}' unless defined(&CMS_R_UNSUPPORTED_LABEL_SOURCE);
	eval 'sub CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE () {155;}' unless defined(&CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE);
	eval 'sub CMS_R_UNSUPPORTED_RECIPIENT_TYPE () {154;}' unless defined(&CMS_R_UNSUPPORTED_RECIPIENT_TYPE);
	eval 'sub CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM () {195;}' unless defined(&CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM);
	eval 'sub CMS_R_UNSUPPORTED_TYPE () {156;}' unless defined(&CMS_R_UNSUPPORTED_TYPE);
	eval 'sub CMS_R_UNWRAP_ERROR () {157;}' unless defined(&CMS_R_UNWRAP_ERROR);
	eval 'sub CMS_R_UNWRAP_FAILURE () {180;}' unless defined(&CMS_R_UNWRAP_FAILURE);
	eval 'sub CMS_R_VERIFICATION_FAILURE () {158;}' unless defined(&CMS_R_VERIFICATION_FAILURE);
	eval 'sub CMS_R_WRAP_ERROR () {159;}' unless defined(&CMS_R_WRAP_ERROR);
    }
}
1;
