If a CT log entry in CTLOG_FILE is invalid, skip it and continue loading
authorRob Percival <robpercival@google.com>
Thu, 3 Mar 2016 16:06:59 +0000 (16:06 +0000)
committerRich Salz <rsalz@openssl.org>
Fri, 4 Mar 2016 15:50:10 +0000 (10:50 -0500)
commita930afb6986fb8e22a59b2bfc5f1a19a8dc3388d
tree11271c1601aac23f4ef80e6c5ceed0f71bc26d29
parentdd696a55a2554cc8c89dd64f7e1171ce211dfc5c
If a CT log entry in CTLOG_FILE is invalid, skip it and continue loading

Previously, the remaining CT log entries would not be loaded.
Also, CTLOG_STORE_load_file would return 1 even if a log entry was
invalid, resulting in no errors being shown.

Reviewed-by: Ben Laurie <ben@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/ct/ct_log.c
include/openssl/ct.h