require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_PKCS12ERR_H)) {
    eval 'sub OPENSSL_PKCS12ERR_H () {1;}' unless defined(&OPENSSL_PKCS12ERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    eval 'sub PKCS12_R_CANT_PACK_STRUCTURE () {100;}' unless defined(&PKCS12_R_CANT_PACK_STRUCTURE);
    eval 'sub PKCS12_R_CONTENT_TYPE_NOT_DATA () {121;}' unless defined(&PKCS12_R_CONTENT_TYPE_NOT_DATA);
    eval 'sub PKCS12_R_DECODE_ERROR () {101;}' unless defined(&PKCS12_R_DECODE_ERROR);
    eval 'sub PKCS12_R_ENCODE_ERROR () {102;}' unless defined(&PKCS12_R_ENCODE_ERROR);
    eval 'sub PKCS12_R_ENCRYPT_ERROR () {103;}' unless defined(&PKCS12_R_ENCRYPT_ERROR);
    eval 'sub PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE () {120;}' unless defined(&PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE);
    eval 'sub PKCS12_R_INVALID_NULL_ARGUMENT () {104;}' unless defined(&PKCS12_R_INVALID_NULL_ARGUMENT);
    eval 'sub PKCS12_R_INVALID_NULL_PKCS12_POINTER () {105;}' unless defined(&PKCS12_R_INVALID_NULL_PKCS12_POINTER);
    eval 'sub PKCS12_R_INVALID_TYPE () {112;}' unless defined(&PKCS12_R_INVALID_TYPE);
    eval 'sub PKCS12_R_IV_GEN_ERROR () {106;}' unless defined(&PKCS12_R_IV_GEN_ERROR);
    eval 'sub PKCS12_R_KEY_GEN_ERROR () {107;}' unless defined(&PKCS12_R_KEY_GEN_ERROR);
    eval 'sub PKCS12_R_MAC_ABSENT () {108;}' unless defined(&PKCS12_R_MAC_ABSENT);
    eval 'sub PKCS12_R_MAC_GENERATION_ERROR () {109;}' unless defined(&PKCS12_R_MAC_GENERATION_ERROR);
    eval 'sub PKCS12_R_MAC_SETUP_ERROR () {110;}' unless defined(&PKCS12_R_MAC_SETUP_ERROR);
    eval 'sub PKCS12_R_MAC_STRING_SET_ERROR () {111;}' unless defined(&PKCS12_R_MAC_STRING_SET_ERROR);
    eval 'sub PKCS12_R_MAC_VERIFY_FAILURE () {113;}' unless defined(&PKCS12_R_MAC_VERIFY_FAILURE);
    eval 'sub PKCS12_R_PARSE_ERROR () {114;}' unless defined(&PKCS12_R_PARSE_ERROR);
    eval 'sub PKCS12_R_PKCS12_CIPHERFINAL_ERROR () {116;}' unless defined(&PKCS12_R_PKCS12_CIPHERFINAL_ERROR);
    eval 'sub PKCS12_R_UNKNOWN_DIGEST_ALGORITHM () {118;}' unless defined(&PKCS12_R_UNKNOWN_DIGEST_ALGORITHM);
    eval 'sub PKCS12_R_UNSUPPORTED_PKCS12_MODE () {119;}' unless defined(&PKCS12_R_UNSUPPORTED_PKCS12_MODE);
}
1;
