summaryrefslogtreecommitdiffstats
path: root/crypto/whrlpool
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-01-05 22:28:38 +0000
commit4d1f3f7a6c4dd0162c903c8fb96265db1ba0b91c (patch)
tree328056764c4a9c99714f52e0a314f048c8776f59 /crypto/whrlpool
parentaff686df91d856511cf3570b7d8755300da22451 (diff)
Update perl asm scripts include paths for perlasm.
Diffstat (limited to 'crypto/whrlpool')
-rw-r--r--crypto/whrlpool/asm/wp-mmx.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/whrlpool/asm/wp-mmx.pl b/crypto/whrlpool/asm/wp-mmx.pl
index d52439bca4..32cf16380b 100644
--- a/crypto/whrlpool/asm/wp-mmx.pl
+++ b/crypto/whrlpool/asm/wp-mmx.pl
@@ -45,7 +45,8 @@
# non-MMX implementation would actually pay off, but till
# opposite is proved "unlikely" is assumed.
-push(@INC,"../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],"wp-mmx.pl");