projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b45200
)
Fix typo in ssl/d1_pkt.c.
author
Andy Polyakov
<appro@openssl.org>
Mon, 20 Jun 2005 19:36:34 +0000
(19:36 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 20 Jun 2005 19:36:34 +0000
(19:36 +0000)
ssl/d1_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/d1_pkt.c
b/ssl/d1_pkt.c
index 7bbe23c9c316dc030aaf8ce20a75f0bba5147203..ba1d661585104e08b9cadf5ad0c1805ca3242954 100644
(file)
--- 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;