require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&HEADER_BLOWFISH_H)) {
    eval 'sub HEADER_BLOWFISH_H () {1;}' unless defined(&HEADER_BLOWFISH_H);
    require 'openssl/e_os2.ph';
    if(defined(&__cplusplus)) {
    }
    if(defined(&OPENSSL_NO_BF)) {
	die("BF\ is\ disabled\.");
    }
    eval 'sub BF_ENCRYPT () {1;}' unless defined(&BF_ENCRYPT);
    eval 'sub BF_DECRYPT () {0;}' unless defined(&BF_DECRYPT);
    if(defined( &OPENSSL_SYS_WIN16) || defined( &__LP32__)) {
	eval 'sub BF_LONG () {\'unsigned long\';}' unless defined(&BF_LONG);
    }
 elsif(defined( &OPENSSL_SYS_CRAY) || defined( &__ILP64__)) {
	eval 'sub BF_LONG () {\'unsigned long\';}' unless defined(&BF_LONG);
	eval 'sub BF_LONG_LOG2 () {3;}' unless defined(&BF_LONG_LOG2);
    } else {
	eval 'sub BF_LONG () {\'unsigned int\';}' unless defined(&BF_LONG);
    }
    eval 'sub BF_ROUNDS () {16;}' unless defined(&BF_ROUNDS);
    eval 'sub BF_BLOCK () {8;}' unless defined(&BF_BLOCK);
    if(defined(&OPENSSL_FIPS)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
