summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/ecdh/ech_key.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2014-09-21 13:12:03 -0400
committerPeter Jones <pjones@redhat.com>2014-09-21 13:12:03 -0400
commitafec82ac7e9ef1c048e08d02f2bbdbd5d5be56a9 (patch)
tree1a00c8e45100e090129877924450373478439bc9 /Cryptlib/OpenSSL/crypto/ecdh/ech_key.c
parent486bf03e54e0db164e3150dfa7f607811bdaefec (diff)
downloadefi-boot-shim-afec82ac7e9ef1c048e08d02f2bbdbd5d5be56a9.tar.gz
efi-boot-shim-afec82ac7e9ef1c048e08d02f2bbdbd5d5be56a9.zip
Make 64-on-32 maybe work on x86_64.
This is mostly based on a patch (https://github.com/mjg59/shim/issues/30) from https://github.com/TBOpen , which refactors our __LP64__ tests to be tests of the header magic instead. I've simplified things by using what we've pre-loaded into "context" and making some helper functions so the conditionals in most of the code say what they do, instead of how they work. Note that we're only allowing that from in_protocol's loader - that is, we'll let 64-bit grub load a 32-bit kernel or 32-bit grub load a 64-bit kernel, but 32-bit shim isn't loading a 64-bit grub. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/ecdh/ech_key.c')
0 files changed, 0 insertions, 0 deletions