require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&HEADER_RIPEMD_H)) {
    eval 'sub HEADER_RIPEMD_H () {1;}' unless defined(&HEADER_RIPEMD_H);
    require 'openssl/e_os2.ph';
    if(defined(&__cplusplus)) {
    }
    if(defined(&OPENSSL_NO_RIPEMD)) {
	die("RIPEMD\ is\ disabled\.");
    }
    if(defined( &OPENSSL_SYS_WIN16) || defined( &__LP32__)) {
	eval 'sub RIPEMD160_LONG () {\'unsigned long\';}' unless defined(&RIPEMD160_LONG);
    }
 elsif(defined( &OPENSSL_SYS_CRAY) || defined( &__ILP64__)) {
	eval 'sub RIPEMD160_LONG () {\'unsigned long\';}' unless defined(&RIPEMD160_LONG);
	eval 'sub RIPEMD160_LONG_LOG2 () {3;}' unless defined(&RIPEMD160_LONG_LOG2);
    } else {
	eval 'sub RIPEMD160_LONG () {\'unsigned int\';}' unless defined(&RIPEMD160_LONG);
    }
    eval 'sub RIPEMD160_CBLOCK () {64;}' unless defined(&RIPEMD160_CBLOCK);
    eval 'sub RIPEMD160_LBLOCK () {( &RIPEMD160_CBLOCK/4);}' unless defined(&RIPEMD160_LBLOCK);
    eval 'sub RIPEMD160_DIGEST_LENGTH () {20;}' unless defined(&RIPEMD160_DIGEST_LENGTH);
    if(defined(&OPENSSL_FIPS)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
