From 544b82e4931294dcb9ec42655be5613f031c116c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 2 Dec 2007 21:32:03 +0000 Subject: [PATCH] Some assembler are allergic to lea reg,BYTE PTR[...]. Submitted by: Guenter Knauf --- crypto/rc4/asm/rc4-586.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rc4/asm/rc4-586.pl b/crypto/rc4/asm/rc4-586.pl index ef148b228c..38a44a70ef 100644 --- a/crypto/rc4/asm/rc4-586.pl +++ b/crypto/rc4/asm/rc4-586.pl @@ -143,7 +143,7 @@ sub RC4_loop { &movz ($ty,&BP(0,$dat,$ty)); &add (&LB($xx),1); &xor (&LB($ty),&BP(0,$inp)); - &lea ($inp,&BP(1,$inp)); + &lea ($inp,&DWP(1,$inp)); &movz ($tx,&BP(0,$dat,$xx)); &cmp ($inp,&wparam(1)); &mov (&BP(-1,$out,$inp),&LB($ty)); -- 2.25.1