summaryrefslogtreecommitdiffstats
path: root/src/tests/asn1_test.h
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/tests/asn1_test.h
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/tests/asn1_test.h')
-rw-r--r--src/tests/asn1_test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/asn1_test.h b/src/tests/asn1_test.h
index c8167ed36..f8310f5ba 100644
--- a/src/tests/asn1_test.h
+++ b/src/tests/asn1_test.h
@@ -46,7 +46,8 @@ struct asn1_test {
static struct image _name ## __image = { \
.refcnt = REF_INIT ( ref_no_free ), \
.name = #_name, \
- .data = ( userptr_t ) ( _name ## __file ), \
+ .flags = ( IMAGE_STATIC | IMAGE_STATIC_NAME ), \
+ .data = _name ## __file, \
.len = sizeof ( _name ## __file ), \
}; \
static struct asn1_test_digest _name ## _expected[] = { \