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
commit 9b90cdc919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;