verify_cb
static int verify_cb(int ok, X509_STORE_CTX *ctx);
X509_STORE_set_verify_cb(cert_ctx, verify_cb);
return ctx->verify_cb(0, ctx);
if (ctx != NULL && ctx->verify_cb == NULL)
if (sk_X509_num(ctx->chain) <= 0 || ctx->verify_cb == NULL) {
ret = ctx->verify_cb(0, ctx); \
if (ctx != NULL && ctx->verify_cb == NULL)
if (sk_X509_num(ctx->chain) <= 0 || ctx->verify_cb == NULL) {
int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
int (*verify_cb)(int ok,X509_STORE_CTX *ctx); /* error callback */
X509_STORE_set_verify_cb(X509_STORE *store, X509_STORE_CTX_verify_cb verify_cb)
store->verify_cb = verify_cb;
return store->verify_cb;
return ctx->xsc->verify_cb(0, ctx->xsc);
return ctx->xsc->verify_cb(ok, ctx->xsc);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
if (!ctx->verify_cb(0, ctx))
if (!ctx->verify_cb(0, ctx))
if (!ctx->verify_cb(0, ctx))
if (!ctx->verify_cb(0, ctx))
crl_ctx.verify_cb = ctx->verify_cb;
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
ok = ctx->verify_cb(0, ctx);
if (!ctx->verify_cb(0, ctx))
return ctx->verify_cb(0, ctx);
if (!ctx->verify_cb(2, ctx))
return ctx->verify_cb(0, ctx);
return ctx->verify_cb(0, ctx);
if (!ctx->verify_cb(1, ctx))
if (store && store->verify_cb)
ctx->verify_cb = store->verify_cb;
ctx->verify_cb = null_callback;
return ctx->verify_cb;
int (*verify_cb)(int, X509_STORE_CTX *))
ctx->verify_cb = verify_cb;
cb = ctx->verify_cb;
return ctx->verify_cb(0, ctx);
cb = ctx->verify_cb;
if (!ctx->verify_cb(0, ctx))
cb = ctx->verify_cb;
int (*verify_cb)(int, X509_STORE_CTX *));
int (*verify_cb)(int, X509_STORE_CTX *));