VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/util/fips-checksums.sh@ 97673

最後變更 在這個檔案從97673是 94320,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

檔案大小: 981 位元組
 
1#! /bin/sh
2
3HERE=`dirname $0`
4
5for f in "$@"; do
6 # It's worth nothing that 'openssl sha256 -r' assumes that all input
7 # is binary. This isn't quite true, and we know better, so we convert
8 # the '*stdin' marker to the filename preceded by a space. See the
9 # sha1sum manual for a specification of the format.
10 case "$f" in
11 *.c | *.c.in | *.h | *.h.in | *.inc)
12 cat "$f" \
13 | $HERE/lang-compress.pl 'C' \
14 | unifdef -DFIPS_MODULE=1 \
15 | openssl sha256 -r \
16 | sed -e "s| \\*stdin| $f|"
17 ;;
18 *.pl )
19 cat "$f" \
20 | $HERE/lang-compress.pl 'perl' \
21 | openssl sha256 -r \
22 | sed -e "s| \\*stdin| $f|"
23 ;;
24 *.S )
25 cat "$f" \
26 | $HERE/lang-compress.pl 'S' \
27 | openssl sha256 -r \
28 | sed -e "s| \\*stdin| $f|"
29 ;;
30 esac
31done
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette