diff options
| author | djm <> | 2005-04-29 05:37:32 +0000 |
|---|---|---|
| committer | djm <> | 2005-04-29 05:37:32 +0000 |
| commit | 588543a0946f1dbf0f1dd5135f8f6447486dc183 (patch) | |
| tree | f74e14f98abfec33221f0f2e15cc88a34a3df7e5 /src/lib/libcrypto/util/pl/linux.pl | |
| parent | 00b426069b0dfa8f0d9b87308646e9684f45c515 (diff) | |
| download | openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.gz openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.bz2 openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.zip | |
import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/util/pl/linux.pl')
| -rw-r--r-- | src/lib/libcrypto/util/pl/linux.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/libcrypto/util/pl/linux.pl b/src/lib/libcrypto/util/pl/linux.pl index 8924ed5480..df05c40526 100644 --- a/src/lib/libcrypto/util/pl/linux.pl +++ b/src/lib/libcrypto/util/pl/linux.pl | |||
| @@ -72,13 +72,18 @@ sub do_shlib_rule | |||
| 72 | 72 | ||
| 73 | sub do_link_rule | 73 | sub do_link_rule |
| 74 | { | 74 | { |
| 75 | local($target,$files,$dep_libs,$libs)=@_; | 75 | local($target,$files,$dep_libs,$libs,$sha1file,$openssl)=@_; |
| 76 | local($ret,$_); | 76 | local($ret,$_); |
| 77 | 77 | ||
| 78 | $file =~ s/\//$o/g if $o ne '/'; | 78 | $file =~ s/\//$o/g if $o ne '/'; |
| 79 | $n=&bname($target); | 79 | $n=&bname($target); |
| 80 | $ret.="$target: $files $dep_libs\n"; | 80 | $ret.="$target: $files $dep_libs\n"; |
| 81 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n"; | 81 | $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n"; |
| 82 | if (defined $sha1file) | ||
| 83 | { | ||
| 84 | $ret.="\t$openssl sha1 -hmac etaonrishdlcupfm -binary $target > $sha1file"; | ||
| 85 | } | ||
| 86 | $ret.="\n"; | ||
| 82 | return($ret); | 87 | return($ret); |
| 83 | } | 88 | } |
| 84 | 89 | ||
