Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/engines/asm
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/engines/asm/e_padlock-x86.pl
r91772 r94082 2 2 # Copyright 2011-2018 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 # Licensed under the OpenSSL license(the "License"). You may not use4 # Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 # this file except in compliance with the License. You can obtain a copy 6 6 # in the file LICENSE in the source distribution or at … … 43 43 require "x86asm.pl"; 44 44 45 $output=pop; 46 open STDOUT,">$output"; 45 $output=pop and open STDOUT,">$output"; 47 46 48 47 &asm_init($ARGV[0]); -
trunk/src/libs/openssl-3.0.1/engines/asm/e_padlock-x86_64.pl
r91772 r94082 2 2 # Copyright 2011-2018 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 # Licensed under the OpenSSL license(the "License"). You may not use4 # Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 # this file except in compliance with the License. You can obtain a copy 6 6 # in the file LICENSE in the source distribution or at … … 20 20 # details. 21 21 22 $flavour = shift; 23 $output = shift; 24 if ($flavour =~ /\./) { $output = $flavour; undef $flavour; } 22 # $output is the last argument if it looks like a file (it has an extension) 23 # $flavour is the first argument if it doesn't look like a file 24 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef; 25 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef; 25 26 26 27 $win64=0; $win64=1 if ($flavour =~ /[nm]asm|mingw64/ || $output =~ /\.asm$/); … … 31 32 die "can't locate x86_64-xlate.pl"; 32 33 33 open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\""; 34 open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\"" 35 or die "can't call $xlate: $!"; 34 36 *STDOUT=*OUT; 35 37
Note:
See TracChangeset
for help on using the changeset viewer.