summaryrefslogtreecommitdiffstats
path: root/src/file_ifo.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
commit305d71ea0a542f40d5c01573643a457747cc60a0 (patch)
tree77470fd224293c22623e36bf1684715fef5c625c /src/file_ifo.c
parent952415ee990f17fed58ba22ca0d3f86fad38ff2b (diff)
Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verificationHEADmaster
using frama-c
Diffstat (limited to 'src/file_ifo.c')
-rw-r--r--src/file_ifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_ifo.c b/src/file_ifo.c
index 0874895..623d579 100644
--- a/src/file_ifo.c
+++ b/src/file_ifo.c
@@ -74,7 +74,7 @@ static void register_header_check_ifo(file_stat_t *file_stat)
static const unsigned char ifo_header_vmg[12]= { 'D', 'V', 'D', 'V', 'I', 'D', 'E', 'O', '-', 'V', 'M', 'G'};
static const unsigned char ifo_header_vts[12]= { 'D', 'V', 'D', 'V', 'I', 'D', 'E', 'O', '-', 'V', 'T', 'S'};
register_header_check(0, ifo_header_vmg, sizeof(ifo_header_vmg), &header_check_ifo, file_stat);
-#ifndef __FRAMAC__
+#ifndef DISABLED_FOR_FRAMAC
register_header_check(0, ifo_header_vts, sizeof(ifo_header_vts), &header_check_ifo, file_stat);
#endif
}