aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/des/asm/crypt586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/des/asm/crypt586.pl')
-rw-r--r--openssl/crypto/des/asm/crypt586.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/openssl/crypto/des/asm/crypt586.pl b/openssl/crypto/des/asm/crypt586.pl
index 1d04ed6de..e36f7d44b 100644
--- a/openssl/crypto/des/asm/crypt586.pl
+++ b/openssl/crypto/des/asm/crypt586.pl
@@ -6,7 +6,8 @@
# things perfect.
#
-push(@INC,"perlasm","../../perlasm");
+$0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
+push(@INC,"${dir}","${dir}../../perlasm");
require "x86asm.pl";
&asm_init($ARGV[0],"crypt586.pl");
@@ -22,7 +23,7 @@ sub fcrypt_body
{
local($name,$do_ip)=@_;
- &function_begin($name,"EXTRN _DES_SPtrans:DWORD");
+ &function_begin($name);
&comment("");
&comment("Load the 2 words");