require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&HEADER_ECDH_H)) {
    eval 'sub HEADER_ECDH_H () {1;}' unless defined(&HEADER_ECDH_H);
    require 'openssl/opensslconf.ph';
    if(defined(&OPENSSL_NO_ECDH)) {
	die("ECDH\ 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 ECDH_F_ECDH_COMPUTE_KEY () {100;}' unless defined(&ECDH_F_ECDH_COMPUTE_KEY);
    eval 'sub ECDH_F_ECDH_DATA_NEW_METHOD () {101;}' unless defined(&ECDH_F_ECDH_DATA_NEW_METHOD);
    eval 'sub ECDH_R_KDF_FAILED () {102;}' unless defined(&ECDH_R_KDF_FAILED);
    eval 'sub ECDH_R_NO_PRIVATE_VALUE () {100;}' unless defined(&ECDH_R_NO_PRIVATE_VALUE);
    eval 'sub ECDH_R_POINT_ARITHMETIC_FAILURE () {101;}' unless defined(&ECDH_R_POINT_ARITHMETIC_FAILURE);
    if(defined(&__cplusplus)) {
    }
}
1;
