require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_CRMFERR_H)) {
    eval 'sub OPENSSL_CRMFERR_H () {1;}' unless defined(&OPENSSL_CRMFERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    unless(defined(&OPENSSL_NO_CRMF)) {
	eval 'sub CRMF_R_BAD_PBM_ITERATIONCOUNT () {100;}' unless defined(&CRMF_R_BAD_PBM_ITERATIONCOUNT);
	eval 'sub CRMF_R_CRMFERROR () {102;}' unless defined(&CRMF_R_CRMFERROR);
	eval 'sub CRMF_R_ERROR () {103;}' unless defined(&CRMF_R_ERROR);
	eval 'sub CRMF_R_ERROR_DECODING_CERTIFICATE () {104;}' unless defined(&CRMF_R_ERROR_DECODING_CERTIFICATE);
	eval 'sub CRMF_R_ERROR_DECRYPTING_CERTIFICATE () {105;}' unless defined(&CRMF_R_ERROR_DECRYPTING_CERTIFICATE);
	eval 'sub CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY () {106;}' unless defined(&CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY);
	eval 'sub CRMF_R_FAILURE_OBTAINING_RANDOM () {107;}' unless defined(&CRMF_R_FAILURE_OBTAINING_RANDOM);
	eval 'sub CRMF_R_ITERATIONCOUNT_BELOW_100 () {108;}' unless defined(&CRMF_R_ITERATIONCOUNT_BELOW_100);
	eval 'sub CRMF_R_MALFORMED_IV () {101;}' unless defined(&CRMF_R_MALFORMED_IV);
	eval 'sub CRMF_R_NULL_ARGUMENT () {109;}' unless defined(&CRMF_R_NULL_ARGUMENT);
	eval 'sub CRMF_R_POPOSKINPUT_NOT_SUPPORTED () {113;}' unless defined(&CRMF_R_POPOSKINPUT_NOT_SUPPORTED);
	eval 'sub CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY () {117;}' unless defined(&CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY);
	eval 'sub CRMF_R_POPO_MISSING () {121;}' unless defined(&CRMF_R_POPO_MISSING);
	eval 'sub CRMF_R_POPO_MISSING_PUBLIC_KEY () {118;}' unless defined(&CRMF_R_POPO_MISSING_PUBLIC_KEY);
	eval 'sub CRMF_R_POPO_MISSING_SUBJECT () {119;}' unless defined(&CRMF_R_POPO_MISSING_SUBJECT);
	eval 'sub CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED () {120;}' unless defined(&CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED);
	eval 'sub CRMF_R_SETTING_MAC_ALGOR_FAILURE () {110;}' unless defined(&CRMF_R_SETTING_MAC_ALGOR_FAILURE);
	eval 'sub CRMF_R_SETTING_OWF_ALGOR_FAILURE () {111;}' unless defined(&CRMF_R_SETTING_OWF_ALGOR_FAILURE);
	eval 'sub CRMF_R_UNSUPPORTED_ALGORITHM () {112;}' unless defined(&CRMF_R_UNSUPPORTED_ALGORITHM);
	eval 'sub CRMF_R_UNSUPPORTED_CIPHER () {114;}' unless defined(&CRMF_R_UNSUPPORTED_CIPHER);
	eval 'sub CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO () {115;}' unless defined(&CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO);
	eval 'sub CRMF_R_UNSUPPORTED_POPO_METHOD () {116;}' unless defined(&CRMF_R_UNSUPPORTED_POPO_METHOD);
    }
}
1;
