Commit Graph

3 Commits

Author SHA1 Message Date
Colin Watson
ce942da8e7 Fix format-overflow warning with GCC 7
The overflow was in fact impossible in practice because the int
parameter is only ever 0, 1, or 2, but GCC couldn't prove that.
2018-03-16 11:00:46 +00:00
Colin Watson
2933c9f7a1 Import replacement CRC operations from libgcrypt
Repack upstream tarball without grub-core/lib/libgcrypt*/cipher/crc.c,
and provide a replacement implementation backported from more recent
versions of libgcrypt.

Closes: #745409
2018-02-16 11:08:25 +00:00
Colin Watson
29c8a3e93a Cherry-pick upstream patch to allow mounting ext2/3/4 file systems that have the 'encrypt' feature enabled (closes: #840204). 2017-07-06 18:00:53 +01:00