Merge pull request #1396 from JacobBarthelmeh/Testing

fix for static analysis warning of null dereference
This commit is contained in:
toddouska
2018-02-23 15:51:29 -08:00
committed by GitHub

View File

@@ -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;