diff options
author | miod <> | 2014-04-13 15:16:37 +0000 |
---|---|---|
committer | miod <> | 2014-04-13 15:16:37 +0000 |
commit | 79456c1577bfe31849da36061d54f4af125a81d9 (patch) | |
tree | 35d5dabcac1af44d18fd05adf22f21b9c9d84278 | |
parent | e4e5cfce71aea090d747d436ab48c4717f78c97c (diff) | |
parent | 284bc5e2f66588d1b5acbb6cd24844bb6a58b235 (diff) | |
download | openbsd-79456c1577bfe31849da36061d54f4af125a81d9.tar.gz openbsd-79456c1577bfe31849da36061d54f4af125a81d9.tar.bz2 openbsd-79456c1577bfe31849da36061d54f4af125a81d9.zip |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
-rw-r--r-- | src/lib/libcrypto/sha/Makefile | 4 | ||||
-rwxr-xr-x | src/lib/libcrypto/util/shlib_wrap.sh | 6 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/sha/Makefile | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/sha/asm/sha1-ia64.pl | 3 | ||||
-rwxr-xr-x | src/lib/libssl/src/util/shlib_wrap.sh | 6 |
5 files changed, 18 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sha/Makefile b/src/lib/libcrypto/sha/Makefile index 6d191d3936..2eb2b7af99 100644 --- a/src/lib/libcrypto/sha/Makefile +++ b/src/lib/libcrypto/sha/Makefile | |||
@@ -60,7 +60,9 @@ sha256-armv4.S: asm/sha256-armv4.pl | |||
60 | $(PERL) $< $(PERLASM_SCHEME) $@ | 60 | $(PERL) $< $(PERLASM_SCHEME) $@ |
61 | 61 | ||
62 | sha1-alpha.s: asm/sha1-alpha.pl | 62 | sha1-alpha.s: asm/sha1-alpha.pl |
63 | $(PERL) $< | $(CC) -E - | tee $@ > /dev/null | 63 | (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \ |
64 | $(PERL) asm/sha1-alpha.pl > $$preproc && \ | ||
65 | $(CC) -E $$preproc > $@ && rm $$preproc) | ||
64 | 66 | ||
65 | # Solaris make has to be explicitly told | 67 | # Solaris make has to be explicitly told |
66 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ | 68 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ |
diff --git a/src/lib/libcrypto/util/shlib_wrap.sh b/src/lib/libcrypto/util/shlib_wrap.sh index 9416d593d2..8775cb5411 100755 --- a/src/lib/libcrypto/util/shlib_wrap.sh +++ b/src/lib/libcrypto/util/shlib_wrap.sh | |||
@@ -90,4 +90,8 @@ fi | |||
90 | 90 | ||
91 | cmd="$1${EXE_EXT}" | 91 | cmd="$1${EXE_EXT}" |
92 | shift | 92 | shift |
93 | exec "$cmd" "$@" | 93 | if [ $# -eq 0 ]; then |
94 | exec "$cmd" # old sh, such as Tru64 4.x, fails to expand empty "$@" | ||
95 | else | ||
96 | exec "$cmd" "$@" | ||
97 | fi | ||
diff --git a/src/lib/libssl/src/crypto/sha/Makefile b/src/lib/libssl/src/crypto/sha/Makefile index 6d191d3936..2eb2b7af99 100644 --- a/src/lib/libssl/src/crypto/sha/Makefile +++ b/src/lib/libssl/src/crypto/sha/Makefile | |||
@@ -60,7 +60,9 @@ sha256-armv4.S: asm/sha256-armv4.pl | |||
60 | $(PERL) $< $(PERLASM_SCHEME) $@ | 60 | $(PERL) $< $(PERLASM_SCHEME) $@ |
61 | 61 | ||
62 | sha1-alpha.s: asm/sha1-alpha.pl | 62 | sha1-alpha.s: asm/sha1-alpha.pl |
63 | $(PERL) $< | $(CC) -E - | tee $@ > /dev/null | 63 | (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \ |
64 | $(PERL) asm/sha1-alpha.pl > $$preproc && \ | ||
65 | $(CC) -E $$preproc > $@ && rm $$preproc) | ||
64 | 66 | ||
65 | # Solaris make has to be explicitly told | 67 | # Solaris make has to be explicitly told |
66 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ | 68 | sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@ |
diff --git a/src/lib/libssl/src/crypto/sha/asm/sha1-ia64.pl b/src/lib/libssl/src/crypto/sha/asm/sha1-ia64.pl index db28f0805a..02d35d1614 100644 --- a/src/lib/libssl/src/crypto/sha/asm/sha1-ia64.pl +++ b/src/lib/libssl/src/crypto/sha/asm/sha1-ia64.pl | |||
@@ -271,7 +271,8 @@ tmp6=loc13; | |||
271 | 271 | ||
272 | ___ | 272 | ___ |
273 | 273 | ||
274 | { my $i,@V=($A,$B,$C,$D,$E); | 274 | { my $i; |
275 | my @V=($A,$B,$C,$D,$E); | ||
275 | 276 | ||
276 | for($i=0;$i<16;$i++) { &BODY_00_15(\$code,$i,@V); unshift(@V,pop(@V)); } | 277 | for($i=0;$i<16;$i++) { &BODY_00_15(\$code,$i,@V); unshift(@V,pop(@V)); } |
277 | for(;$i<20;$i++) { &BODY_16_19(\$code,$i,@V); unshift(@V,pop(@V)); } | 278 | for(;$i<20;$i++) { &BODY_16_19(\$code,$i,@V); unshift(@V,pop(@V)); } |
diff --git a/src/lib/libssl/src/util/shlib_wrap.sh b/src/lib/libssl/src/util/shlib_wrap.sh index 9416d593d2..8775cb5411 100755 --- a/src/lib/libssl/src/util/shlib_wrap.sh +++ b/src/lib/libssl/src/util/shlib_wrap.sh | |||
@@ -90,4 +90,8 @@ fi | |||
90 | 90 | ||
91 | cmd="$1${EXE_EXT}" | 91 | cmd="$1${EXE_EXT}" |
92 | shift | 92 | shift |
93 | exec "$cmd" "$@" | 93 | if [ $# -eq 0 ]; then |
94 | exec "$cmd" # old sh, such as Tru64 4.x, fails to expand empty "$@" | ||
95 | else | ||
96 | exec "$cmd" "$@" | ||
97 | fi | ||