File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ static int X509StoreVerifyCert(WOLFSSL_X509_STORE_CTX* ctx)
264264 WOLFSSL_FILETYPE_ASN1 );
265265 SetupStoreCtxError (ctx , ret );
266266 #if defined(OPENSSL_ALL ) || defined(WOLFSSL_QT )
267- if (ctx -> store && ctx -> store -> verify_cb )
267+ if (ctx -> store -> verify_cb )
268268 ret = ctx -> store -> verify_cb (ret >= 0 ? 1 : 0 , ctx ) == 1 ? 0 : ret ;
269269 #endif
270270
@@ -288,7 +288,7 @@ static int X509StoreVerifyCert(WOLFSSL_X509_STORE_CTX* ctx)
288288 }
289289 SetupStoreCtxError (ctx , ret );
290290 #if defined(OPENSSL_ALL ) || defined(WOLFSSL_QT )
291- if (ctx -> store && ctx -> store -> verify_cb )
291+ if (ctx -> store -> verify_cb )
292292 ret = ctx -> store -> verify_cb (ret >= 0 ? 1 : 0 ,
293293 ctx ) == 1 ? 0 : -1 ;
294294 #endif
You can’t perform that action at this time.
0 commit comments