summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-06-20 21:36:34 +0200
committerAndy Polyakov <appro@openssl.org>2005-06-20 21:36:34 +0200
commit44eff497e8cebb6c6eea371371cbb888cae65727 (patch)
treeee43fd2d413f0490fd2e83a0d652c8a1e9346e77
parentRefine ELF detection on BSD platforms. (diff)
downloadopenssl-44eff497e8cebb6c6eea371371cbb888cae65727.tar.xz
openssl-44eff497e8cebb6c6eea371371cbb888cae65727.zip
Fix typo in ssl/d1_pkt.c.
-rw-r--r--ssl/d1_pkt.c4
1 files changed, 2 insertions, 2 deletions
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;