require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_ECERR_H)) {
    eval 'sub OPENSSL_ECERR_H () {1;}' unless defined(&OPENSSL_ECERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    unless(defined(&OPENSSL_NO_EC)) {
	eval 'sub EC_R_ASN1_ERROR () {115;}' unless defined(&EC_R_ASN1_ERROR);
	eval 'sub EC_R_BAD_SIGNATURE () {156;}' unless defined(&EC_R_BAD_SIGNATURE);
	eval 'sub EC_R_BIGNUM_OUT_OF_RANGE () {144;}' unless defined(&EC_R_BIGNUM_OUT_OF_RANGE);
	eval 'sub EC_R_BUFFER_TOO_SMALL () {100;}' unless defined(&EC_R_BUFFER_TOO_SMALL);
	eval 'sub EC_R_CANNOT_INVERT () {165;}' unless defined(&EC_R_CANNOT_INVERT);
	eval 'sub EC_R_COORDINATES_OUT_OF_RANGE () {146;}' unless defined(&EC_R_COORDINATES_OUT_OF_RANGE);
	eval 'sub EC_R_CURVE_DOES_NOT_SUPPORT_ECDH () {160;}' unless defined(&EC_R_CURVE_DOES_NOT_SUPPORT_ECDH);
	eval 'sub EC_R_CURVE_DOES_NOT_SUPPORT_ECDSA () {170;}' unless defined(&EC_R_CURVE_DOES_NOT_SUPPORT_ECDSA);
	eval 'sub EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING () {159;}' unless defined(&EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING);
	eval 'sub EC_R_DECODE_ERROR () {142;}' unless defined(&EC_R_DECODE_ERROR);
	eval 'sub EC_R_DISCRIMINANT_IS_ZERO () {118;}' unless defined(&EC_R_DISCRIMINANT_IS_ZERO);
	eval 'sub EC_R_EC_GROUP_NEW_BY_NAME_FAILURE () {119;}' unless defined(&EC_R_EC_GROUP_NEW_BY_NAME_FAILURE);
	eval 'sub EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED () {127;}' unless defined(&EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED);
	eval 'sub EC_R_FAILED_MAKING_PUBLIC_KEY () {166;}' unless defined(&EC_R_FAILED_MAKING_PUBLIC_KEY);
	eval 'sub EC_R_FIELD_TOO_LARGE () {143;}' unless defined(&EC_R_FIELD_TOO_LARGE);
	eval 'sub EC_R_GF2M_NOT_SUPPORTED () {147;}' unless defined(&EC_R_GF2M_NOT_SUPPORTED);
	eval 'sub EC_R_GROUP2PKPARAMETERS_FAILURE () {120;}' unless defined(&EC_R_GROUP2PKPARAMETERS_FAILURE);
	eval 'sub EC_R_I2D_ECPKPARAMETERS_FAILURE () {121;}' unless defined(&EC_R_I2D_ECPKPARAMETERS_FAILURE);
	eval 'sub EC_R_INCOMPATIBLE_OBJECTS () {101;}' unless defined(&EC_R_INCOMPATIBLE_OBJECTS);
	eval 'sub EC_R_INVALID_A () {168;}' unless defined(&EC_R_INVALID_A);
	eval 'sub EC_R_INVALID_ARGUMENT () {112;}' unless defined(&EC_R_INVALID_ARGUMENT);
	eval 'sub EC_R_INVALID_B () {169;}' unless defined(&EC_R_INVALID_B);
	eval 'sub EC_R_INVALID_COFACTOR () {171;}' unless defined(&EC_R_INVALID_COFACTOR);
	eval 'sub EC_R_INVALID_COMPRESSED_POINT () {110;}' unless defined(&EC_R_INVALID_COMPRESSED_POINT);
	eval 'sub EC_R_INVALID_COMPRESSION_BIT () {109;}' unless defined(&EC_R_INVALID_COMPRESSION_BIT);
	eval 'sub EC_R_INVALID_CURVE () {141;}' unless defined(&EC_R_INVALID_CURVE);
	eval 'sub EC_R_INVALID_DIGEST () {151;}' unless defined(&EC_R_INVALID_DIGEST);
	eval 'sub EC_R_INVALID_DIGEST_TYPE () {138;}' unless defined(&EC_R_INVALID_DIGEST_TYPE);
	eval 'sub EC_R_INVALID_ENCODING () {102;}' unless defined(&EC_R_INVALID_ENCODING);
	eval 'sub EC_R_INVALID_FIELD () {103;}' unless defined(&EC_R_INVALID_FIELD);
	eval 'sub EC_R_INVALID_FORM () {104;}' unless defined(&EC_R_INVALID_FORM);
	eval 'sub EC_R_INVALID_GENERATOR () {173;}' unless defined(&EC_R_INVALID_GENERATOR);
	eval 'sub EC_R_INVALID_GROUP_ORDER () {122;}' unless defined(&EC_R_INVALID_GROUP_ORDER);
	eval 'sub EC_R_INVALID_KEY () {116;}' unless defined(&EC_R_INVALID_KEY);
	eval 'sub EC_R_INVALID_LENGTH () {117;}' unless defined(&EC_R_INVALID_LENGTH);
	eval 'sub EC_R_INVALID_NAMED_GROUP_CONVERSION () {174;}' unless defined(&EC_R_INVALID_NAMED_GROUP_CONVERSION);
	eval 'sub EC_R_INVALID_OUTPUT_LENGTH () {161;}' unless defined(&EC_R_INVALID_OUTPUT_LENGTH);
	eval 'sub EC_R_INVALID_P () {172;}' unless defined(&EC_R_INVALID_P);
	eval 'sub EC_R_INVALID_PEER_KEY () {133;}' unless defined(&EC_R_INVALID_PEER_KEY);
	eval 'sub EC_R_INVALID_PENTANOMIAL_BASIS () {132;}' unless defined(&EC_R_INVALID_PENTANOMIAL_BASIS);
	eval 'sub EC_R_INVALID_PRIVATE_KEY () {123;}' unless defined(&EC_R_INVALID_PRIVATE_KEY);
	eval 'sub EC_R_INVALID_SEED () {175;}' unless defined(&EC_R_INVALID_SEED);
	eval 'sub EC_R_INVALID_TRINOMIAL_BASIS () {137;}' unless defined(&EC_R_INVALID_TRINOMIAL_BASIS);
	eval 'sub EC_R_KDF_PARAMETER_ERROR () {148;}' unless defined(&EC_R_KDF_PARAMETER_ERROR);
	eval 'sub EC_R_KEYS_NOT_SET () {140;}' unless defined(&EC_R_KEYS_NOT_SET);
	eval 'sub EC_R_LADDER_POST_FAILURE () {136;}' unless defined(&EC_R_LADDER_POST_FAILURE);
	eval 'sub EC_R_LADDER_PRE_FAILURE () {153;}' unless defined(&EC_R_LADDER_PRE_FAILURE);
	eval 'sub EC_R_LADDER_STEP_FAILURE () {162;}' unless defined(&EC_R_LADDER_STEP_FAILURE);
	eval 'sub EC_R_MISSING_OID () {167;}' unless defined(&EC_R_MISSING_OID);
	eval 'sub EC_R_MISSING_PARAMETERS () {124;}' unless defined(&EC_R_MISSING_PARAMETERS);
	eval 'sub EC_R_MISSING_PRIVATE_KEY () {125;}' unless defined(&EC_R_MISSING_PRIVATE_KEY);
	eval 'sub EC_R_NEED_NEW_SETUP_VALUES () {157;}' unless defined(&EC_R_NEED_NEW_SETUP_VALUES);
	eval 'sub EC_R_NOT_A_NIST_PRIME () {135;}' unless defined(&EC_R_NOT_A_NIST_PRIME);
	eval 'sub EC_R_NOT_IMPLEMENTED () {126;}' unless defined(&EC_R_NOT_IMPLEMENTED);
	eval 'sub EC_R_NOT_INITIALIZED () {111;}' unless defined(&EC_R_NOT_INITIALIZED);
	eval 'sub EC_R_NO_PARAMETERS_SET () {139;}' unless defined(&EC_R_NO_PARAMETERS_SET);
	eval 'sub EC_R_NO_PRIVATE_VALUE () {154;}' unless defined(&EC_R_NO_PRIVATE_VALUE);
	eval 'sub EC_R_OPERATION_NOT_SUPPORTED () {152;}' unless defined(&EC_R_OPERATION_NOT_SUPPORTED);
	eval 'sub EC_R_PASSED_NULL_PARAMETER () {134;}' unless defined(&EC_R_PASSED_NULL_PARAMETER);
	eval 'sub EC_R_PEER_KEY_ERROR () {149;}' unless defined(&EC_R_PEER_KEY_ERROR);
	eval 'sub EC_R_POINT_ARITHMETIC_FAILURE () {155;}' unless defined(&EC_R_POINT_ARITHMETIC_FAILURE);
	eval 'sub EC_R_POINT_AT_INFINITY () {106;}' unless defined(&EC_R_POINT_AT_INFINITY);
	eval 'sub EC_R_POINT_COORDINATES_BLIND_FAILURE () {163;}' unless defined(&EC_R_POINT_COORDINATES_BLIND_FAILURE);
	eval 'sub EC_R_POINT_IS_NOT_ON_CURVE () {107;}' unless defined(&EC_R_POINT_IS_NOT_ON_CURVE);
	eval 'sub EC_R_RANDOM_NUMBER_GENERATION_FAILED () {158;}' unless defined(&EC_R_RANDOM_NUMBER_GENERATION_FAILED);
	eval 'sub EC_R_SHARED_INFO_ERROR () {150;}' unless defined(&EC_R_SHARED_INFO_ERROR);
	eval 'sub EC_R_SLOT_FULL () {108;}' unless defined(&EC_R_SLOT_FULL);
	eval 'sub EC_R_TOO_MANY_RETRIES () {176;}' unless defined(&EC_R_TOO_MANY_RETRIES);
	eval 'sub EC_R_UNDEFINED_GENERATOR () {113;}' unless defined(&EC_R_UNDEFINED_GENERATOR);
	eval 'sub EC_R_UNDEFINED_ORDER () {128;}' unless defined(&EC_R_UNDEFINED_ORDER);
	eval 'sub EC_R_UNKNOWN_COFACTOR () {164;}' unless defined(&EC_R_UNKNOWN_COFACTOR);
	eval 'sub EC_R_UNKNOWN_GROUP () {129;}' unless defined(&EC_R_UNKNOWN_GROUP);
	eval 'sub EC_R_UNKNOWN_ORDER () {114;}' unless defined(&EC_R_UNKNOWN_ORDER);
	eval 'sub EC_R_UNSUPPORTED_FIELD () {131;}' unless defined(&EC_R_UNSUPPORTED_FIELD);
	eval 'sub EC_R_WRONG_CURVE_PARAMETERS () {145;}' unless defined(&EC_R_WRONG_CURVE_PARAMETERS);
	eval 'sub EC_R_WRONG_ORDER () {130;}' unless defined(&EC_R_WRONG_ORDER);
    }
}
1;
