openssl/crypto/bn/asm
David Benjamin 218e740f85 Do not silently truncate files on perlasm errors
If one of the perlasm xlate drivers crashes, OpenSSL's build will
currently swallow the error and silently truncate the output to however
far the driver got. This will hopefully fail to build, but better to
check such things.

Handle this by checking for errors when closing STDOUT (which is a pipe
to the xlate driver).

This is the OpenSSL 1.1.1 version of
https://github.com/openssl/openssl/pull/10883 and
https://github.com/openssl/openssl/pull/10930.

Reviewed-by: Mark J. Cox <mark@awe.com>
Reviewed-by: Paul Dale David Benjamin <davidben@google.com>
(Merged from https://github.com/openssl/openssl/pull/10931)
2020-02-17 12:21:27 +10:00
..
alpha-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
armv4-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
armv4-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
armv8-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
bn-586.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
bn-c64xplus.asm Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
c64xplus-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
co-586.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
ia64-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
ia64.S Update copyright year 2019-02-26 14:05:09 +00:00
mips-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
mips.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
parisc-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
ppc-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
ppc.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
ppc64-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
rsaz-avx2.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
rsaz-x86_64.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
s390x-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
s390x-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
s390x.S s390x assembly pack: fix bn_mul_comba4 2019-11-17 13:55:28 +01:00
sparct4-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
sparcv8.S Many spelling fixes/typo's corrected. 2017-11-11 19:03:10 -05:00
sparcv8plus.S Update copyright year 2019-02-26 14:05:09 +00:00
sparcv9-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
sparcv9-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
sparcv9a-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
via-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
vis3-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
x86-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
x86-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
x86_64-gcc.c Reorganize local header files 2019-09-27 23:58:06 +02:00
x86_64-gf2m.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
x86_64-mont.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00
x86_64-mont5.pl Do not silently truncate files on perlasm errors 2020-02-17 12:21:27 +10:00