X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fd1_pkt.c;h=ba1d661585104e08b9cadf5ad0c1805ca3242954;hp=7bbe23c9c316dc030aaf8ce20a75f0bba5147203;hb=44eff497e8cebb6c6eea371371cbb888cae65727;hpb=8b452002e8ffd69d408f7eae2a122fb25e7f67b0 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;