From: Andy Polyakov Date: Mon, 20 Jun 2005 19:36:34 +0000 (+0000) Subject: Fix typo in ssl/d1_pkt.c. X-Git-Tag: OpenSSL_0_9_8k^2~2000 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=44eff497e8cebb6c6eea371371cbb888cae65727;p=oweals%2Fopenssl.git Fix typo in ssl/d1_pkt.c. --- diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 7bbe23c9c3..ba1d661585 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -135,8 +135,8 @@ static int satsub64be(const unsigned char *v1,const unsigned char *v2) * always aligned, but I take no chances... */ if (((size_t)v1|(size_t)v2)&0x7) break; - l = *((long *)v1); - l =- *((long *)v2); + l = *((long *)v1); + l -= *((long *)v2); if (l>128) return 128; else if (l<-128) return -128; else return (int)l;