summaryrefslogtreecommitdiff
path: root/tests/test_db.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-07-10Refactor DB and app_t structure - preparation for OCSP checking.Janusz Kozerski1-25/+73
New version of DB is needed to keep separately certificates from each signatrue. Because application can be signed by more than one signature we need to keep all certificates from all signatures in separate lists to make building certificates' chains easier. * Add operators (==, !=, <) for app_t structre * Add operators (==, !=) for event_t structure * Add tests for operators * Remove check_id from app_t structure Change-Id: I966dd81420618325d1afa55bcbc656291ccb4238
2015-06-26Add cert-checker database (+tests). Change include files path.Janusz Kozerski1-0/+146
* Add m_buffer in Logic class. * Load database into buffer in Logic::setup() * Move include to separate folder - this solves problem with app.h file from different package. [Verification] Run cert-checker-tests. All should pass. Change-Id: I809951a17fd44d5258ad91e480b6914e92d1058b