require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&HEADER_CAMELLIA_H)) {
    eval 'sub HEADER_CAMELLIA_H () {1;}' unless defined(&HEADER_CAMELLIA_H);
    require 'openssl/opensslconf.ph';
    if(defined(&OPENSSL_NO_CAMELLIA)) {
	die("CAMELLIA\ is\ disabled\.");
    }
    eval 'sub CAMELLIA_ENCRYPT () {1;}' unless defined(&CAMELLIA_ENCRYPT);
    eval 'sub CAMELLIA_DECRYPT () {0;}' unless defined(&CAMELLIA_DECRYPT);
    if(defined(&__cplusplus)) {
    }
    eval 'sub CAMELLIA_BLOCK_SIZE () {16;}' unless defined(&CAMELLIA_BLOCK_SIZE);
    eval 'sub CAMELLIA_TABLE_BYTE_LEN () {272;}' unless defined(&CAMELLIA_TABLE_BYTE_LEN);
    eval 'sub CAMELLIA_TABLE_WORD_LEN () {( &CAMELLIA_TABLE_BYTE_LEN / 4);}' unless defined(&CAMELLIA_TABLE_WORD_LEN);
    if(defined(&OPENSSL_FIPS)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
