int pass;
int pass = 0;
static int check_certificate_by_signer (X509 *peercert){  X509_STORE_CTX xsc;  X509_STORE *ctx;  int pass;  ctx = X509_STORE_new ();  if (ctx == NULL) return 0;  if (option (OPTSSLSYSTEMCERTS) && !X509_STORE_set_default_paths (ctx))  {    dprint (2, (debugfile, "X509_STORE_set_default_paths failed\n"));    X509_STORE_free (ctx);    return 0;  }  if (!X509_STORE_load_locations (ctx, SslCertFile, NULL))  {    dprint (2, (debugfile, "X509_STORE_load_locations failed\n"));    X509_STORE_free (ctx);    return 0;  }  X509_STORE_CTX_init (&xsc, ctx, peercert, NULL);  pass = (X509_verify_cert (&xsc) > 0);#ifdef DEBUG  if (! pass)  {    char buf[SHORT_STRING];    int err;    err = X509_STORE_CTX_get_error (&xsc);    snprintf (buf, sizeof (buf), "%s (%d)", 	X509_verify_cert_error_string(err), err);    dprint (2, (debugfile, "X509_verify_cert: %s\n", buf));  }#endif  X509_STORE_CTX_cleanup (&xsc);  X509_STORE_free (ctx);  return pass;}