X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fdes%2Fasm%2Fdes-586.pl;h=fe51a227ca57f4f48a8967f4ef85c27920f5f042;hb=HEAD;hp=3d2953884fd5cc0f883f01189b6a536f2bf0d5b2;hpb=2d48d5ddda8b83e50230b08835814e48838fc145;p=oweals%2Fopenssl.git diff --git a/crypto/des/asm/des-586.pl b/crypto/des/asm/des-586.pl index 3d2953884f..fe51a227ca 100644 --- a/crypto/des/asm/des-586.pl +++ b/crypto/des/asm/des-586.pl @@ -1,5 +1,5 @@ #! /usr/bin/env perl -# Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. +# Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the Apache License 2.0 (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy @@ -20,8 +20,7 @@ require "desboth.pl"; # format. # -$output=pop; -open STDOUT,">$output"; +$output=pop and open STDOUT,">$output"; &asm_init($ARGV[0]); @@ -47,7 +46,7 @@ $small_footprint=1 if (grep(/\-DOPENSSL_SMALL_FOOTPRINT/,@ARGV)); &asm_finish(); -close STDOUT; +close STDOUT or die "error closing STDOUT: $!"; sub DES_encrypt_internal() {