int i;
int ret;
time_t goodtill;
- char * ca_policy_file_path = NULL;
- char * cert_dir = NULL;
+ char * cert_dir = NULL;
EVP_PKEY *key = NULL;
int objset = 0;
canl_ocsprequest_t *ocsp_data = NULL;
pvd->cert_depth++;
- if (ca_policy_file_path != NULL)
- {
- free(ca_policy_file_path);
- ca_policy_file_path = NULL;
- }
-
if (!check_critical_extensions(ctx->current_cert, itsaproxy)) {
PRXYerr(PRXYERR_F_VERIFY_CB, PRXYERR_R_UNKNOWN_CRIT_EXT);
ctx->error = X509_V_ERR_CERT_REJECTED;
if (objset)
X509_OBJECT_free_contents(&obj);
- if (ca_policy_file_path != NULL)
- {
- free(ca_policy_file_path);
- }
-
return(0);
}