require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&HEADER_X509_H)) {
    require 'openssl/x509.ph';
}
unless(defined(&HEADER_X509_VFY_H)) {
    eval 'sub HEADER_X509_VFY_H () {1;}' unless defined(&HEADER_X509_VFY_H);
    unless(defined(&OPENSSL_NO_LHASH)) {
	require 'openssl/lhash.ph';
    }
    require 'openssl/bio.ph';
    require 'openssl/crypto.ph';
    require 'openssl/symhacks.ph';
    if(defined(&__cplusplus)) {
    }
    eval 'sub X509_LU_RETRY () {-1;}' unless defined(&X509_LU_RETRY);
    eval 'sub X509_LU_FAIL () {0;}' unless defined(&X509_LU_FAIL);
    eval 'sub X509_LU_X509 () {1;}' unless defined(&X509_LU_X509);
    eval 'sub X509_LU_CRL () {2;}' unless defined(&X509_LU_CRL);
    eval 'sub X509_LU_PKEY () {3;}' unless defined(&X509_LU_PKEY);
    eval 'sub X509_STORE_set_depth {
        my($ctx,$d) = @_;
	    eval q((($ctx)-> &depth=($d)));
    }' unless defined(&X509_STORE_set_depth);
    eval 'sub X509_STORE_set_verify_cb_func {
        my($ctx,$func) = @_;
	    eval q((($ctx)-> &verify_cb=($func)));
    }' unless defined(&X509_STORE_set_verify_cb_func);
    eval 'sub X509_STORE_set_verify_func {
        my($ctx,$func) = @_;
	    eval q((($ctx)-> &verify=($func)));
    }' unless defined(&X509_STORE_set_verify_func);
    eval 'sub X509_STORE_CTX_set_depth {
        my($ctx,$d) = @_;
	    eval q((($ctx)-> &depth=($d)));
    }' unless defined(&X509_STORE_CTX_set_depth);
    eval 'sub X509_STORE_CTX_set_app_data {
        my($ctx,$data) = @_;
	    eval q( &X509_STORE_CTX_set_ex_data($ctx,0,$data));
    }' unless defined(&X509_STORE_CTX_set_app_data);
    eval 'sub X509_STORE_CTX_get_app_data {
        my($ctx) = @_;
	    eval q( &X509_STORE_CTX_get_ex_data($ctx,0));
    }' unless defined(&X509_STORE_CTX_get_app_data);
    eval 'sub X509_L_FILE_LOAD () {1;}' unless defined(&X509_L_FILE_LOAD);
    eval 'sub X509_L_ADD_DIR () {2;}' unless defined(&X509_L_ADD_DIR);
    eval 'sub X509_LOOKUP_load_file {
        my($x,$name,$type) = @_;
	    eval q( &X509_LOOKUP_ctrl(, &X509_L_FILE_LOAD,,($type), &NULL));
    }' unless defined(&X509_LOOKUP_load_file);
    eval 'sub X509_LOOKUP_add_dir {
        my($x,$name,$type) = @_;
	    eval q( &X509_LOOKUP_ctrl(, &X509_L_ADD_DIR,,($type), &NULL));
    }' unless defined(&X509_LOOKUP_add_dir);
    eval 'sub X509_V_OK () {0;}' unless defined(&X509_V_OK);
    eval 'sub X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT () {2;}' unless defined(&X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT);
    eval 'sub X509_V_ERR_UNABLE_TO_GET_CRL () {3;}' unless defined(&X509_V_ERR_UNABLE_TO_GET_CRL);
    eval 'sub X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE () {4;}' unless defined(&X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE);
    eval 'sub X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE () {5;}' unless defined(&X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE);
    eval 'sub X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY () {6;}' unless defined(&X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY);
    eval 'sub X509_V_ERR_CERT_SIGNATURE_FAILURE () {7;}' unless defined(&X509_V_ERR_CERT_SIGNATURE_FAILURE);
    eval 'sub X509_V_ERR_CRL_SIGNATURE_FAILURE () {8;}' unless defined(&X509_V_ERR_CRL_SIGNATURE_FAILURE);
    eval 'sub X509_V_ERR_CERT_NOT_YET_VALID () {9;}' unless defined(&X509_V_ERR_CERT_NOT_YET_VALID);
    eval 'sub X509_V_ERR_CERT_HAS_EXPIRED () {10;}' unless defined(&X509_V_ERR_CERT_HAS_EXPIRED);
    eval 'sub X509_V_ERR_CRL_NOT_YET_VALID () {11;}' unless defined(&X509_V_ERR_CRL_NOT_YET_VALID);
    eval 'sub X509_V_ERR_CRL_HAS_EXPIRED () {12;}' unless defined(&X509_V_ERR_CRL_HAS_EXPIRED);
    eval 'sub X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD () {13;}' unless defined(&X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD);
    eval 'sub X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD () {14;}' unless defined(&X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD);
    eval 'sub X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD () {15;}' unless defined(&X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD);
    eval 'sub X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD () {16;}' unless defined(&X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD);
    eval 'sub X509_V_ERR_OUT_OF_MEM () {17;}' unless defined(&X509_V_ERR_OUT_OF_MEM);
    eval 'sub X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT () {18;}' unless defined(&X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT);
    eval 'sub X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN () {19;}' unless defined(&X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN);
    eval 'sub X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY () {20;}' unless defined(&X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY);
    eval 'sub X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE () {21;}' unless defined(&X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE);
    eval 'sub X509_V_ERR_CERT_CHAIN_TOO_LONG () {22;}' unless defined(&X509_V_ERR_CERT_CHAIN_TOO_LONG);
    eval 'sub X509_V_ERR_CERT_REVOKED () {23;}' unless defined(&X509_V_ERR_CERT_REVOKED);
    eval 'sub X509_V_ERR_INVALID_CA () {24;}' unless defined(&X509_V_ERR_INVALID_CA);
    eval 'sub X509_V_ERR_PATH_LENGTH_EXCEEDED () {25;}' unless defined(&X509_V_ERR_PATH_LENGTH_EXCEEDED);
    eval 'sub X509_V_ERR_INVALID_PURPOSE () {26;}' unless defined(&X509_V_ERR_INVALID_PURPOSE);
    eval 'sub X509_V_ERR_CERT_UNTRUSTED () {27;}' unless defined(&X509_V_ERR_CERT_UNTRUSTED);
    eval 'sub X509_V_ERR_CERT_REJECTED () {28;}' unless defined(&X509_V_ERR_CERT_REJECTED);
    eval 'sub X509_V_ERR_SUBJECT_ISSUER_MISMATCH () {29;}' unless defined(&X509_V_ERR_SUBJECT_ISSUER_MISMATCH);
    eval 'sub X509_V_ERR_AKID_SKID_MISMATCH () {30;}' unless defined(&X509_V_ERR_AKID_SKID_MISMATCH);
    eval 'sub X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH () {31;}' unless defined(&X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH);
    eval 'sub X509_V_ERR_KEYUSAGE_NO_CERTSIGN () {32;}' unless defined(&X509_V_ERR_KEYUSAGE_NO_CERTSIGN);
    eval 'sub X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER () {33;}' unless defined(&X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER);
    eval 'sub X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION () {34;}' unless defined(&X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION);
    eval 'sub X509_V_ERR_KEYUSAGE_NO_CRL_SIGN () {35;}' unless defined(&X509_V_ERR_KEYUSAGE_NO_CRL_SIGN);
    eval 'sub X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION () {36;}' unless defined(&X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION);
    eval 'sub X509_V_ERR_INVALID_NON_CA () {37;}' unless defined(&X509_V_ERR_INVALID_NON_CA);
    eval 'sub X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED () {38;}' unless defined(&X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED);
    eval 'sub X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE () {39;}' unless defined(&X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE);
    eval 'sub X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED () {40;}' unless defined(&X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED);
    eval 'sub X509_V_ERR_APPLICATION_VERIFICATION () {50;}' unless defined(&X509_V_ERR_APPLICATION_VERIFICATION);
    eval 'sub X509_V_FLAG_CB_ISSUER_CHECK () {0x1;}' unless defined(&X509_V_FLAG_CB_ISSUER_CHECK);
    eval 'sub X509_V_FLAG_USE_CHECK_TIME () {0x2;}' unless defined(&X509_V_FLAG_USE_CHECK_TIME);
    eval 'sub X509_V_FLAG_CRL_CHECK () {0x4;}' unless defined(&X509_V_FLAG_CRL_CHECK);
    eval 'sub X509_V_FLAG_CRL_CHECK_ALL () {0x8;}' unless defined(&X509_V_FLAG_CRL_CHECK_ALL);
    eval 'sub X509_V_FLAG_IGNORE_CRITICAL () {0x10;}' unless defined(&X509_V_FLAG_IGNORE_CRITICAL);
    eval 'sub X509_V_FLAG_X509_STRICT () {0x20;}' unless defined(&X509_V_FLAG_X509_STRICT);
    eval 'sub X509_V_FLAG_ALLOW_PROXY_CERTS () {0x40;}' unless defined(&X509_V_FLAG_ALLOW_PROXY_CERTS);
    unless(defined(&OPENSSL_NO_STDIO)) {
    }
    unless(defined(&OPENSSL_NO_STDIO)) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
