aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-07-28 22:51:50 +0100
committerMichael Brown <mcb30@ipxe.org>2016-07-29 01:13:27 +0100
commit84add97ce9e094e9299db181d53ba8859f4a3e67 (patch)
treeb74ae8ed5f65cb7431f4f0c660db5282f743773c /src/tests/tests.c
parenteb7188d04b30dcbc47ac1af621b738cc0923ae38 (diff)
downloadipxe-84add97ce9e094e9299db181d53ba8859f4a3e67.tar.gz
[crypto] Add PEM image format
Add PEM-encoded ASN.1 as an image format. We accept as PEM any image containing a line starting with a "-----BEGIN" boundary marker. We allow for PEM files containing multiple ASN.1 objects, such as a certificate chain produced by concatenating individual certificate files. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/tests.c')
-rw-r--r--src/tests/tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/tests.c b/src/tests/tests.c
index b9679b49e..39c5136ea 100644
--- a/src/tests/tests.c
+++ b/src/tests/tests.c
@@ -70,3 +70,4 @@ REQUIRE_OBJECT ( linebuf_test );
REQUIRE_OBJECT ( iobuf_test );
REQUIRE_OBJECT ( bitops_test );
REQUIRE_OBJECT ( der_test );
+REQUIRE_OBJECT ( pem_test );