We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9af8716 commit 077b070Copy full SHA for 077b070
1 file changed
src/x509_str.c
@@ -264,7 +264,7 @@ static int X509StoreVerifyCert(WOLFSSL_X509_STORE_CTX* ctx)
264
WOLFSSL_FILETYPE_ASN1);
265
SetupStoreCtxError(ctx, ret);
266
#if defined(OPENSSL_ALL) || defined(WOLFSSL_QT)
267
- if (ctx->store && ctx->store->verify_cb)
+ if (ctx->store->verify_cb)
268
ret = ctx->store->verify_cb(ret >= 0 ? 1 : 0, ctx) == 1 ? 0 : ret;
269
#endif
270
@@ -288,7 +288,7 @@ static int X509StoreVerifyCert(WOLFSSL_X509_STORE_CTX* ctx)
288
}
289
290
291
292
ret = ctx->store->verify_cb(ret >= 0 ? 1 : 0,
293
ctx) == 1 ? 0 : -1;
294
0 commit comments