diff options
author | Michael Brown | 2016-07-28 17:18:23 +0200 |
---|---|---|
committer | Michael Brown | 2016-07-29 02:12:58 +0200 |
commit | eb7188d04b30dcbc47ac1af621b738cc0923ae38 (patch) | |
tree | fda7f01787ea5ef826befac6be1cf7af55659053 /src/config/config.c | |
parent | [image] Add image_asn1() to extract ASN.1 objects from image (diff) | |
download | ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.tar.gz ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.tar.xz ipxe-eb7188d04b30dcbc47ac1af621b738cc0923ae38.zip |
[crypto] Add DER image format
Add DER-encoded ASN.1 as an image format. There is no fixed signature
for DER files. We treat an image as DER if it comprises a single
valid SEQUENCE object covering the entire length of the image.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index e24cfe0d..acdbebaa 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -188,6 +188,9 @@ REQUIRE_OBJECT ( pnm ); #ifdef IMAGE_PNG REQUIRE_OBJECT ( png ); #endif +#ifdef IMAGE_DER +REQUIRE_OBJECT ( der ); +#endif /* * Drag in all requested commands |