summaryrefslogtreecommitdiff
path: root/lib/libcrypto/des/asm/crypt586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/des/asm/crypt586.pl')
-rw-r--r--lib/libcrypto/des/asm/crypt586.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libcrypto/des/asm/crypt586.pl b/lib/libcrypto/des/asm/crypt586.pl
index 1d04ed6def1..e36f7d44bd7 100644
--- a/lib/libcrypto/des/asm/crypt586.pl
+++ b/lib/libcrypto/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");