require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_BNERR_H)) {
    eval 'sub OPENSSL_BNERR_H () {1;}' unless defined(&OPENSSL_BNERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    eval 'sub BN_R_ARG2_LT_ARG3 () {100;}' unless defined(&BN_R_ARG2_LT_ARG3);
    eval 'sub BN_R_BAD_RECIPROCAL () {101;}' unless defined(&BN_R_BAD_RECIPROCAL);
    eval 'sub BN_R_BIGNUM_TOO_LONG () {114;}' unless defined(&BN_R_BIGNUM_TOO_LONG);
    eval 'sub BN_R_BITS_TOO_SMALL () {118;}' unless defined(&BN_R_BITS_TOO_SMALL);
    eval 'sub BN_R_CALLED_WITH_EVEN_MODULUS () {102;}' unless defined(&BN_R_CALLED_WITH_EVEN_MODULUS);
    eval 'sub BN_R_DIV_BY_ZERO () {103;}' unless defined(&BN_R_DIV_BY_ZERO);
    eval 'sub BN_R_ENCODING_ERROR () {104;}' unless defined(&BN_R_ENCODING_ERROR);
    eval 'sub BN_R_EXPAND_ON_STATIC_BIGNUM_DATA () {105;}' unless defined(&BN_R_EXPAND_ON_STATIC_BIGNUM_DATA);
    eval 'sub BN_R_INPUT_NOT_REDUCED () {110;}' unless defined(&BN_R_INPUT_NOT_REDUCED);
    eval 'sub BN_R_INVALID_LENGTH () {106;}' unless defined(&BN_R_INVALID_LENGTH);
    eval 'sub BN_R_INVALID_RANGE () {115;}' unless defined(&BN_R_INVALID_RANGE);
    eval 'sub BN_R_INVALID_SHIFT () {119;}' unless defined(&BN_R_INVALID_SHIFT);
    eval 'sub BN_R_NOT_A_SQUARE () {111;}' unless defined(&BN_R_NOT_A_SQUARE);
    eval 'sub BN_R_NOT_INITIALIZED () {107;}' unless defined(&BN_R_NOT_INITIALIZED);
    eval 'sub BN_R_NO_INVERSE () {108;}' unless defined(&BN_R_NO_INVERSE);
    eval 'sub BN_R_NO_PRIME_CANDIDATE () {121;}' unless defined(&BN_R_NO_PRIME_CANDIDATE);
    eval 'sub BN_R_NO_SOLUTION () {116;}' unless defined(&BN_R_NO_SOLUTION);
    eval 'sub BN_R_NO_SUITABLE_DIGEST () {120;}' unless defined(&BN_R_NO_SUITABLE_DIGEST);
    eval 'sub BN_R_PRIVATE_KEY_TOO_LARGE () {117;}' unless defined(&BN_R_PRIVATE_KEY_TOO_LARGE);
    eval 'sub BN_R_P_IS_NOT_PRIME () {112;}' unless defined(&BN_R_P_IS_NOT_PRIME);
    eval 'sub BN_R_TOO_MANY_ITERATIONS () {113;}' unless defined(&BN_R_TOO_MANY_ITERATIONS);
    eval 'sub BN_R_TOO_MANY_TEMPORARY_VARIABLES () {109;}' unless defined(&BN_R_TOO_MANY_TEMPORARY_VARIABLES);
}
1;
