diff options
Diffstat (limited to 'test/ct_test.c')
-rw-r--r-- | test/ct_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ct_test.c b/test/ct_test.c index d1799fa7a2..f914ee514a 100644 --- a/test/ct_test.c +++ b/test/ct_test.c @@ -449,6 +449,9 @@ static int test_encode_tls_sct(void) SETUP_CT_TEST_FIXTURE(); fixture->sct_list = sk_SCT_new_null(); + if (fixture->sct_list == NULL) + return 0; + if (!TEST_ptr(sct = SCT_new_from_base64(SCT_VERSION_V1, log_id, CT_LOG_ENTRY_TYPE_X509, timestamp, extensions, signature))) |