allback&quot;,
                                                  NULL,NULL,NULL);
        }
        X509_STORE_unlock(X509_STORE_CTX_get0_store(ctx));
    }
    return idx;
}

/* Callback to be given to the X509 validation procedure.  */
static int verify_callback(int ok, X509_STORE_CTX *ctx)
{
    if (ok == 1) {
        /*
         * It&#39;s REALLY important you keep the proxy policy check
         * within this section.  It&#39;s important to know that when
         * ok is 1, the certificates are checke