require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_CRYPTOERR_H)) {
    eval 'sub OPENSSL_CRYPTOERR_H () {1;}' unless defined(&OPENSSL_CRYPTOERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    eval 'sub CRYPTO_R_BAD_ALGORITHM_NAME () {117;}' unless defined(&CRYPTO_R_BAD_ALGORITHM_NAME);
    eval 'sub CRYPTO_R_CONFLICTING_NAMES () {118;}' unless defined(&CRYPTO_R_CONFLICTING_NAMES);
    eval 'sub CRYPTO_R_HEX_STRING_TOO_SHORT () {121;}' unless defined(&CRYPTO_R_HEX_STRING_TOO_SHORT);
    eval 'sub CRYPTO_R_ILLEGAL_HEX_DIGIT () {102;}' unless defined(&CRYPTO_R_ILLEGAL_HEX_DIGIT);
    eval 'sub CRYPTO_R_INSUFFICIENT_DATA_SPACE () {106;}' unless defined(&CRYPTO_R_INSUFFICIENT_DATA_SPACE);
    eval 'sub CRYPTO_R_INSUFFICIENT_PARAM_SIZE () {107;}' unless defined(&CRYPTO_R_INSUFFICIENT_PARAM_SIZE);
    eval 'sub CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE () {108;}' unless defined(&CRYPTO_R_INSUFFICIENT_SECURE_DATA_SPACE);
    eval 'sub CRYPTO_R_INVALID_NEGATIVE_VALUE () {122;}' unless defined(&CRYPTO_R_INVALID_NEGATIVE_VALUE);
    eval 'sub CRYPTO_R_INVALID_NULL_ARGUMENT () {109;}' unless defined(&CRYPTO_R_INVALID_NULL_ARGUMENT);
    eval 'sub CRYPTO_R_INVALID_OSSL_PARAM_TYPE () {110;}' unless defined(&CRYPTO_R_INVALID_OSSL_PARAM_TYPE);
    eval 'sub CRYPTO_R_ODD_NUMBER_OF_DIGITS () {103;}' unless defined(&CRYPTO_R_ODD_NUMBER_OF_DIGITS);
    eval 'sub CRYPTO_R_PROVIDER_ALREADY_EXISTS () {104;}' unless defined(&CRYPTO_R_PROVIDER_ALREADY_EXISTS);
    eval 'sub CRYPTO_R_PROVIDER_SECTION_ERROR () {105;}' unless defined(&CRYPTO_R_PROVIDER_SECTION_ERROR);
    eval 'sub CRYPTO_R_RANDOM_SECTION_ERROR () {119;}' unless defined(&CRYPTO_R_RANDOM_SECTION_ERROR);
    eval 'sub CRYPTO_R_SECURE_MALLOC_FAILURE () {111;}' unless defined(&CRYPTO_R_SECURE_MALLOC_FAILURE);
    eval 'sub CRYPTO_R_STRING_TOO_LONG () {112;}' unless defined(&CRYPTO_R_STRING_TOO_LONG);
    eval 'sub CRYPTO_R_TOO_MANY_BYTES () {113;}' unless defined(&CRYPTO_R_TOO_MANY_BYTES);
    eval 'sub CRYPTO_R_TOO_MANY_RECORDS () {114;}' unless defined(&CRYPTO_R_TOO_MANY_RECORDS);
    eval 'sub CRYPTO_R_TOO_SMALL_BUFFER () {116;}' unless defined(&CRYPTO_R_TOO_SMALL_BUFFER);
    eval 'sub CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION () {120;}' unless defined(&CRYPTO_R_UNKNOWN_NAME_IN_RANDOM_SECTION);
    eval 'sub CRYPTO_R_ZERO_LENGTH_NUMBER () {115;}' unless defined(&CRYPTO_R_ZERO_LENGTH_NUMBER);
}
1;
