diff options
author | Matt Caswell <matt@openssl.org> | 2021-04-19 17:31:28 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-04-22 08:31:26 +0100 |
commit | cd28d129b6a5b84ac40b4a3f8060a6f764aa02b4 (patch) | |
tree | 3059bf5b12e8b654245d6b5729b0b536c2164e81 /Configure | |
parent | af9fb19a476911bf7ceabcf3b21923dd5bbd9ac6 (diff) | |
download | openssl-new-cd28d129b6a5b84ac40b4a3f8060a6f764aa02b4.tar.gz |
Avoid the need for Configure time 128-bit int detection
We just detect this at compile time instead.
This avoids cross-compilation problems where the host platform supports
128-bit ints, but the target platform does not (or vice versa). This was
causing a problem on some platforms where, dependent on the CFLAGS, 128 bit
ints were either supported or not.
Fixes #14804
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14941)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -1573,20 +1573,6 @@ if (!$disabled{asm} && !$predefined_C{__MACH__} && $^O ne 'VMS') { } } -# Check if __SIZEOF_INT128__ is defined by compiler -$config{use_int128} = 0; -{ - my $cc = $config{CROSS_COMPILE}.$config{CC}; - open(PIPE, "$cc -E -dM - </dev/null 2>&1 |"); - while(<PIPE>) { - if (m/__SIZEOF_INT128__/) { - $config{use_int128} = 1; - last; - } - } - close(PIPE); -} - # Deal with bn_ops ################################################### $config{bn_ll} =0; |