require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_DTLS1_H)) {
    eval 'sub OPENSSL_DTLS1_H () {1;}' unless defined(&OPENSSL_DTLS1_H);
    require 'openssl/macros.ph';
    unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	eval 'sub HEADER_DTLS1_H () {1;}' unless defined(&HEADER_DTLS1_H);
    }
    require 'openssl/prov_ssl.ph';
    if(defined(&__cplusplus)) {
    }
    require 'openssl/opensslconf.ph';
    unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	eval 'sub DTLS_MIN_VERSION () { &DTLS1_VERSION;}' unless defined(&DTLS_MIN_VERSION);
	eval 'sub DTLS_MAX_VERSION () { &DTLS1_2_VERSION;}' unless defined(&DTLS_MAX_VERSION);
    }
    eval 'sub DTLS1_VERSION_MAJOR () {0xfe;}' unless defined(&DTLS1_VERSION_MAJOR);
    eval 'sub DTLS_ANY_VERSION () {0x1ffff;}' unless defined(&DTLS_ANY_VERSION);
    eval 'sub DTLS1_COOKIE_LENGTH () {255;}' unless defined(&DTLS1_COOKIE_LENGTH);
    eval 'sub DTLS1_RT_HEADER_LENGTH () {13;}' unless defined(&DTLS1_RT_HEADER_LENGTH);
    eval 'sub DTLS1_HM_HEADER_LENGTH () {12;}' unless defined(&DTLS1_HM_HEADER_LENGTH);
    eval 'sub DTLS1_HM_BAD_FRAGMENT () {-2;}' unless defined(&DTLS1_HM_BAD_FRAGMENT);
    eval 'sub DTLS1_HM_FRAGMENT_RETRY () {-3;}' unless defined(&DTLS1_HM_FRAGMENT_RETRY);
    eval 'sub DTLS1_CCS_HEADER_LENGTH () {1;}' unless defined(&DTLS1_CCS_HEADER_LENGTH);
    eval 'sub DTLS1_AL_HEADER_LENGTH () {2;}' unless defined(&DTLS1_AL_HEADER_LENGTH);
    eval 'sub DTLS1_TMO_ALERT_COUNT () {12;}' unless defined(&DTLS1_TMO_ALERT_COUNT);
    if(defined(&__cplusplus)) {
    }
}
1;
