KEYS: Reserve an extra certificate symbol for inserting without recompiling
[deliverable/linux.git] / certs / system_certificates.S
index 9216e8c817649eefd3a6d9c2a64a1b4da2b38ffe..f82e1b22eac43b3e8a13b5e25d741f00803a208a 100644 (file)
@@ -13,6 +13,18 @@ __cert_list_start:
        .incbin "certs/x509_certificate_list"
 __cert_list_end:
 
+#ifdef CONFIG_SYSTEM_EXTRA_CERTIFICATE
+       .globl VMLINUX_SYMBOL(system_extra_cert)
+       .size system_extra_cert, CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE
+VMLINUX_SYMBOL(system_extra_cert):
+       .fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
+
+       .globl VMLINUX_SYMBOL(system_extra_cert_used)
+VMLINUX_SYMBOL(system_extra_cert_used):
+       .int 0
+
+#endif /* CONFIG_SYSTEM_EXTRA_CERTIFICATE */
+
        .align 8
        .globl VMLINUX_SYMBOL(system_certificate_list_size)
 VMLINUX_SYMBOL(system_certificate_list_size):
This page took 0.025865 seconds and 5 git commands to generate.