commit | 28ba747c8caed5ce2082f9b0635327b05b71f857 | [log] [tgz] |
---|---|---|
author | Andres AG <andres.amayagarcia@arm.com> | Fri Jan 20 17:09:15 2017 +0000 |
committer | Andres AG <andres.amayagarcia@arm.com> | Fri Jan 20 17:12:43 2017 +0000 |
tree | 26e7269b1416287dc65575c62712db4d6e62a569 | |
parent | 2f3fe70f7e362caf1ac88a258d2a370a988486c9 [diff] |
Add tests for out flags from x509_crt_verify_top() The tests load certificate chains from files. The CA chains contain a past or future certificate and an invalid certificate. The test then checks that the flags set are BADCERT_EXPIRED or BADCERT_FUTURE.