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
8eb3ac8146 Cherry-pick upstream patch to change the default TSC calibration method to pmtimer on EFI systems (closes: #883193). 2017-12-01 14:17:58 +00:00