diff --git a/src/ssl.c b/src/ssl.c index 84f46ce5a..a2efd2c27 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -18922,7 +18922,7 @@ void wolfSSL_X509_STORE_CTX_set_time(WOLFSSL_X509_STORE_CTX* ctx, { (void)flags; - if (ctx == NULL) + if (ctx == NULL || ctx->param == NULL) return; ctx->param->check_time = t;