require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_ENGINEERR_H)) {
    eval 'sub OPENSSL_ENGINEERR_H () {1;}' unless defined(&OPENSSL_ENGINEERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    unless(defined(&OPENSSL_NO_ENGINE)) {
	eval 'sub ENGINE_R_ALREADY_LOADED () {100;}' unless defined(&ENGINE_R_ALREADY_LOADED);
	eval 'sub ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER () {133;}' unless defined(&ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER);
	eval 'sub ENGINE_R_CMD_NOT_EXECUTABLE () {134;}' unless defined(&ENGINE_R_CMD_NOT_EXECUTABLE);
	eval 'sub ENGINE_R_COMMAND_TAKES_INPUT () {135;}' unless defined(&ENGINE_R_COMMAND_TAKES_INPUT);
	eval 'sub ENGINE_R_COMMAND_TAKES_NO_INPUT () {136;}' unless defined(&ENGINE_R_COMMAND_TAKES_NO_INPUT);
	eval 'sub ENGINE_R_CONFLICTING_ENGINE_ID () {103;}' unless defined(&ENGINE_R_CONFLICTING_ENGINE_ID);
	eval 'sub ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED () {119;}' unless defined(&ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED);
	eval 'sub ENGINE_R_DSO_FAILURE () {104;}' unless defined(&ENGINE_R_DSO_FAILURE);
	eval 'sub ENGINE_R_DSO_NOT_FOUND () {132;}' unless defined(&ENGINE_R_DSO_NOT_FOUND);
	eval 'sub ENGINE_R_ENGINES_SECTION_ERROR () {148;}' unless defined(&ENGINE_R_ENGINES_SECTION_ERROR);
	eval 'sub ENGINE_R_ENGINE_CONFIGURATION_ERROR () {102;}' unless defined(&ENGINE_R_ENGINE_CONFIGURATION_ERROR);
	eval 'sub ENGINE_R_ENGINE_IS_NOT_IN_LIST () {105;}' unless defined(&ENGINE_R_ENGINE_IS_NOT_IN_LIST);
	eval 'sub ENGINE_R_ENGINE_SECTION_ERROR () {149;}' unless defined(&ENGINE_R_ENGINE_SECTION_ERROR);
	eval 'sub ENGINE_R_FAILED_LOADING_PRIVATE_KEY () {128;}' unless defined(&ENGINE_R_FAILED_LOADING_PRIVATE_KEY);
	eval 'sub ENGINE_R_FAILED_LOADING_PUBLIC_KEY () {129;}' unless defined(&ENGINE_R_FAILED_LOADING_PUBLIC_KEY);
	eval 'sub ENGINE_R_FINISH_FAILED () {106;}' unless defined(&ENGINE_R_FINISH_FAILED);
	eval 'sub ENGINE_R_ID_OR_NAME_MISSING () {108;}' unless defined(&ENGINE_R_ID_OR_NAME_MISSING);
	eval 'sub ENGINE_R_INIT_FAILED () {109;}' unless defined(&ENGINE_R_INIT_FAILED);
	eval 'sub ENGINE_R_INTERNAL_LIST_ERROR () {110;}' unless defined(&ENGINE_R_INTERNAL_LIST_ERROR);
	eval 'sub ENGINE_R_INVALID_ARGUMENT () {143;}' unless defined(&ENGINE_R_INVALID_ARGUMENT);
	eval 'sub ENGINE_R_INVALID_CMD_NAME () {137;}' unless defined(&ENGINE_R_INVALID_CMD_NAME);
	eval 'sub ENGINE_R_INVALID_CMD_NUMBER () {138;}' unless defined(&ENGINE_R_INVALID_CMD_NUMBER);
	eval 'sub ENGINE_R_INVALID_INIT_VALUE () {151;}' unless defined(&ENGINE_R_INVALID_INIT_VALUE);
	eval 'sub ENGINE_R_INVALID_STRING () {150;}' unless defined(&ENGINE_R_INVALID_STRING);
	eval 'sub ENGINE_R_NOT_INITIALISED () {117;}' unless defined(&ENGINE_R_NOT_INITIALISED);
	eval 'sub ENGINE_R_NOT_LOADED () {112;}' unless defined(&ENGINE_R_NOT_LOADED);
	eval 'sub ENGINE_R_NO_CONTROL_FUNCTION () {120;}' unless defined(&ENGINE_R_NO_CONTROL_FUNCTION);
	eval 'sub ENGINE_R_NO_INDEX () {144;}' unless defined(&ENGINE_R_NO_INDEX);
	eval 'sub ENGINE_R_NO_LOAD_FUNCTION () {125;}' unless defined(&ENGINE_R_NO_LOAD_FUNCTION);
	eval 'sub ENGINE_R_NO_REFERENCE () {130;}' unless defined(&ENGINE_R_NO_REFERENCE);
	eval 'sub ENGINE_R_NO_SUCH_ENGINE () {116;}' unless defined(&ENGINE_R_NO_SUCH_ENGINE);
	eval 'sub ENGINE_R_UNIMPLEMENTED_CIPHER () {146;}' unless defined(&ENGINE_R_UNIMPLEMENTED_CIPHER);
	eval 'sub ENGINE_R_UNIMPLEMENTED_DIGEST () {147;}' unless defined(&ENGINE_R_UNIMPLEMENTED_DIGEST);
	eval 'sub ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD () {101;}' unless defined(&ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD);
	eval 'sub ENGINE_R_VERSION_INCOMPATIBILITY () {145;}' unless defined(&ENGINE_R_VERSION_INCOMPATIBILITY);
    }
}
1;
