require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_HTTP_H)) {
    eval 'sub OPENSSL_HTTP_H () {1;}' unless defined(&OPENSSL_HTTP_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/bio.ph';
    require 'openssl/asn1.ph';
    require 'openssl/conf.ph';
    if(defined(&__cplusplus)) {
    }
    eval 'sub OSSL_HTTP_NAME () {"http";}' unless defined(&OSSL_HTTP_NAME);
    eval 'sub OSSL_HTTPS_NAME () {"https";}' unless defined(&OSSL_HTTPS_NAME);
    eval 'sub OSSL_HTTP_PREFIX () { &OSSL_HTTP_NAME "://";}' unless defined(&OSSL_HTTP_PREFIX);
    eval 'sub OSSL_HTTPS_PREFIX () { &OSSL_HTTPS_NAME "://";}' unless defined(&OSSL_HTTPS_PREFIX);
    eval 'sub OSSL_HTTP_PORT () {"80";}' unless defined(&OSSL_HTTP_PORT);
    eval 'sub OSSL_HTTPS_PORT () {"443";}' unless defined(&OSSL_HTTPS_PORT);
    eval 'sub OPENSSL_NO_PROXY () {"NO_PROXY";}' unless defined(&OPENSSL_NO_PROXY);
    eval 'sub OPENSSL_HTTP_PROXY () {"HTTP_PROXY";}' unless defined(&OPENSSL_HTTP_PROXY);
    eval 'sub OPENSSL_HTTPS_PROXY () {"HTTPS_PROXY";}' unless defined(&OPENSSL_HTTPS_PROXY);
    eval 'sub OSSL_HTTP_DEFAULT_MAX_LINE_LEN () {(4* 1024);}' unless defined(&OSSL_HTTP_DEFAULT_MAX_LINE_LEN);
    eval 'sub OSSL_HTTP_DEFAULT_MAX_RESP_LEN () {(100* 1024);}' unless defined(&OSSL_HTTP_DEFAULT_MAX_RESP_LEN);
    eval 'sub OSSL_HTTP_DEFAULT_MAX_CRL_LEN () {(32* 1024* 1024);}' unless defined(&OSSL_HTTP_DEFAULT_MAX_CRL_LEN);
    if(defined(&__cplusplus)) {
    }
}
1;
