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:
2ed2d15
)
len is a size_t, which is an unsigned integer. Therefore, some
author
Richard Levitte
<levitte@openssl.org>
Mon, 14 May 2001 11:56:47 +0000
(11:56 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 14 May 2001 11:56:47 +0000
(11:56 +0000)
compilers will complain against the check for less than zero.
crypto/ec/ecp_smpl.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ecp_smpl.c
b/crypto/ec/ecp_smpl.c
index 30178f7fcd065db3d153ed7325a492b73acacce9..4666a052bfabf0859d465221c0fd2a679aba897a 100644
(file)
--- a/
crypto/ec/ecp_smpl.c
+++ b/
crypto/ec/ecp_smpl.c
@@
-889,7
+889,7
@@
int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point,
size_t field_len, enc_len;
int ret = 0;
- if (len
<
= 0)
+ if (len
=
= 0)
{
ECerr(EC_F_EC_GFP_SIMPLE_OCT2POINT, EC_R_BUFFER_TOO_SMALL);
return 0;