Browse Source

[test] Add self-tests for OCSP

Add self-tests for OCSP using test vectors generated with the openssl
tools.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
a33298dcda
2 changed files with 1526 additions and 0 deletions
  1. 1525
    0
      src/tests/ocsp_test.c
  2. 1
    0
      src/tests/tests.c

+ 1525
- 0
src/tests/ocsp_test.c
File diff suppressed because it is too large
View File


+ 1
- 0
src/tests/tests.c View File

39
 REQUIRE_OBJECT ( bigint_test );
39
 REQUIRE_OBJECT ( bigint_test );
40
 REQUIRE_OBJECT ( rsa_test );
40
 REQUIRE_OBJECT ( rsa_test );
41
 REQUIRE_OBJECT ( x509_test );
41
 REQUIRE_OBJECT ( x509_test );
42
+REQUIRE_OBJECT ( ocsp_test );
42
 REQUIRE_OBJECT ( cms_test );
43
 REQUIRE_OBJECT ( cms_test );

Loading…
Cancel
Save