summaryrefslogtreecommitdiff
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2020-02-17 12:17:53 +1000
committerPauli <paul.dale@oracle.com>2020-02-17 12:17:53 +1000
commita21314dbbc56cd30580123d74b3106a628540965 (patch)
tree18e881206ce27d0121ae9da0530ea76a2856bfe2 /crypto/x86_64cpuid.pl
parent0eb154663478968137112441d16b593fdf2ebcf8 (diff)
downloadopenssl-new-a21314dbbc56cd30580123d74b3106a628540965.tar.gz
Also check for errors in x86_64-xlate.pl.
In https://github.com/openssl/openssl/pull/10883, I'd meant to exclude the perlasm drivers since they aren't opening pipes and do not particularly need it, but I only noticed x86_64-xlate.pl, so arm-xlate.pl and ppc-xlate.pl got the change. That seems to have been fine, so be consistent and also apply the change to x86_64-xlate.pl. Checking for errors is generally a good idea. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: David Benjamin <davidben@google.com> (Merged from https://github.com/openssl/openssl/pull/10930)
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index be9f33f5f8..32d18a23e8 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -519,4 +519,4 @@ ___
gen_random("rdrand");
gen_random("rdseed");
-close STDOUT or die "error closing STDOUT"; # flush
+close STDOUT or die "error closing STDOUT: $!"; # flush