summaryrefslogtreecommitdiffstats
path: root/src/tests/tests.c
diff options
context:
space:
mode:
authorMichael Brown2016-07-28 23:51:50 +0200
committerMichael Brown2016-07-29 02:13:27 +0200
commit84add97ce9e094e9299db181d53ba8859f4a3e67 (patch)
treeb74ae8ed5f65cb7431f4f0c660db5282f743773c /src/tests/tests.c
parent[crypto] Add DER image format (diff)
downloadipxe-84add97ce9e094e9299db181d53ba8859f4a3e67.tar.gz
ipxe-84add97ce9e094e9299db181d53ba8859f4a3e67.tar.xz
ipxe-84add97ce9e094e9299db181d53ba8859f4a3e67.zip
[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 b9679b49..39c5136e 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 );