VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-14 23:09:49 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-15 01:36:12 +0200
commit8342d0d616a8340bc358b19146f1b2d8cdf41af8 (patch)
tree7b6310176e71112cda067ffb809ffe2ad4229059 /src/Boot
parent19483d20975148940ad26c0145acb5940b03afc3 (diff)
downloadVeraCrypt-8342d0d616a8340bc358b19146f1b2d8cdf41af8.tar.gz
VeraCrypt-8342d0d616a8340bc358b19146f1b2d8cdf41af8.zip
Windows Rescue Disk: compress bootloader for rescue disk in several more cases because of its growing size.
Diffstat (limited to 'src/Boot')
-rw-r--r--src/Boot/Windows/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Boot/Windows/Makefile b/src/Boot/Windows/Makefile
index 3ce069c7..9ae55272 100644
--- a/src/Boot/Windows/Makefile
+++ b/src/Boot/Windows/Makefile
@@ -193,8 +193,8 @@ $(LIBS)
$(LD) $(LFLAGS) @$(PROJ).crf
del $(PROJ).crf $(PROJ).crf2
-# Compress the Rescue Disk botloader for Cascades and SHA2 since it is too big (size > 31232 bytes)
-!if DEFINED(RESCUE_DISK) && !DEFINED (SINGLE_CIPHER) && "$(SINGLE_PRF)" == "SHA2"
+# Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes)
+!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT"))
upx $(PROJ).$(TARGETEXT)
!endif
gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz