require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_DES_H)) {
    eval 'sub OPENSSL_DES_H () {1;}' unless defined(&OPENSSL_DES_H);
    require 'openssl/macros.ph';
    unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	eval 'sub HEADER_DES_H () {1;}' unless defined(&HEADER_DES_H);
    }
    require 'openssl/opensslconf.ph';
    unless(defined(&OPENSSL_NO_DES)) {
	if(defined(&__cplusplus)) {
	}
	require 'openssl/e_os2.ph';
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	    if(defined(&OPENSSL_BUILD_SHLIBCRYPTO)) {
		undef(&OPENSSL_EXTERN) if defined(&OPENSSL_EXTERN);
		eval 'sub OPENSSL_EXTERN () { &OPENSSL_EXPORT;}' unless defined(&OPENSSL_EXTERN);
	    }
	    eval 'sub DES_KEY_SZ () {($sizeof{ &DES_cblock});}' unless defined(&DES_KEY_SZ);
	    eval 'sub DES_SCHEDULE_SZ () {($sizeof{ &DES_key_schedule});}' unless defined(&DES_SCHEDULE_SZ);
	    eval 'sub DES_ENCRYPT () {1;}' unless defined(&DES_ENCRYPT);
	    eval 'sub DES_DECRYPT () {0;}' unless defined(&DES_DECRYPT);
	    eval 'sub DES_CBC_MODE () {0;}' unless defined(&DES_CBC_MODE);
	    eval 'sub DES_PCBC_MODE () {1;}' unless defined(&DES_PCBC_MODE);
	    eval 'sub DES_ecb2_encrypt {
	        my($i, $o, $k1, $k2, $e) = @_;
    		eval q( &DES_ecb3_encrypt(($i), ($o), ($k1), ($k2), ($k1), ($e)));
	    }' unless defined(&DES_ecb2_encrypt);
	    eval 'sub DES_ede2_cbc_encrypt {
	        my($i, $o, $l, $k1, $k2, $iv, $e) = @_;
    		eval q( &DES_ede3_cbc_encrypt(($i), ($o), ($l), ($k1), ($k2), ($k1), ($iv), ($e)));
	    }' unless defined(&DES_ede2_cbc_encrypt);
	    eval 'sub DES_ede2_cfb64_encrypt {
	        my($i, $o, $l, $k1, $k2, $iv, $n, $e) = @_;
    		eval q( &DES_ede3_cfb64_encrypt(($i), ($o), ($l), ($k1), ($k2), ($k1), ($iv), ($n), ($e)));
	    }' unless defined(&DES_ede2_cfb64_encrypt);
	    eval 'sub DES_ede2_ofb64_encrypt {
	        my($i, $o, $l, $k1, $k2, $iv, $n) = @_;
    		eval q( &DES_ede3_ofb64_encrypt(($i), ($o), ($l), ($k1), ($k2), ($k1), ($iv), ($n)));
	    }' unless defined(&DES_ede2_ofb64_encrypt);
	    eval 'sub DES_fixup_key_parity () { &DES_set_odd_parity;}' unless defined(&DES_fixup_key_parity);
	}
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	}
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	}
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	}
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	}
	unless(defined(&OPENSSL_NO_DEPRECATED_3_0)) {
	}
	if(defined(&__cplusplus)) {
	}
    }
}
1;
