require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&HEADER_ECDSA_H)) {
    eval 'sub HEADER_ECDSA_H () {1;}' unless defined(&HEADER_ECDSA_H);
    require 'openssl/opensslconf.ph';
    if(defined(&OPENSSL_NO_ECDSA)) {
	die("ECDSA\ is\ disabled\.");
    }
    require 'openssl/ec.ph';
    require 'openssl/ossl_typ.ph';
    unless(defined(&OPENSSL_NO_DEPRECATED)) {
	require 'openssl/bn.ph';
    }
    if(defined(&__cplusplus)) {
    }
    eval 'sub ECDSA_F_ECDSA_DATA_NEW_METHOD () {100;}' unless defined(&ECDSA_F_ECDSA_DATA_NEW_METHOD);
    eval 'sub ECDSA_F_ECDSA_DO_SIGN () {101;}' unless defined(&ECDSA_F_ECDSA_DO_SIGN);
    eval 'sub ECDSA_F_ECDSA_DO_VERIFY () {102;}' unless defined(&ECDSA_F_ECDSA_DO_VERIFY);
    eval 'sub ECDSA_F_ECDSA_SIGN_SETUP () {103;}' unless defined(&ECDSA_F_ECDSA_SIGN_SETUP);
    eval 'sub ECDSA_R_BAD_SIGNATURE () {100;}' unless defined(&ECDSA_R_BAD_SIGNATURE);
    eval 'sub ECDSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE () {101;}' unless defined(&ECDSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE);
    eval 'sub ECDSA_R_ERR_EC_LIB () {102;}' unless defined(&ECDSA_R_ERR_EC_LIB);
    eval 'sub ECDSA_R_MISSING_PARAMETERS () {103;}' unless defined(&ECDSA_R_MISSING_PARAMETERS);
    eval 'sub ECDSA_R_NEED_NEW_SETUP_VALUES () {106;}' unless defined(&ECDSA_R_NEED_NEW_SETUP_VALUES);
    eval 'sub ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED () {104;}' unless defined(&ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED);
    eval 'sub ECDSA_R_SIGNATURE_MALLOC_FAILED () {105;}' unless defined(&ECDSA_R_SIGNATURE_MALLOC_FAILED);
    if(defined(&__cplusplus)) {
    }
}
1;
