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:
d3a28e8
)
Unsigned vs. signed fixed.
author
Richard Levitte
<levitte@openssl.org>
Thu, 19 Jun 2003 16:56:48 +0000
(16:56 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 19 Jun 2003 16:56:48 +0000
(16:56 +0000)
crypto/ecdh/ech_ossl.c
patch
|
blob
|
history
diff --git
a/crypto/ecdh/ech_ossl.c
b/crypto/ecdh/ech_ossl.c
index 6a8ed8464437394c5022ba3c7917c4ee77d596c3..c7633bac7f5ea15a2b3158f4b1dd50cc1df77d48 100644
(file)
--- a/
crypto/ecdh/ech_ossl.c
+++ b/
crypto/ecdh/ech_ossl.c
@@
-173,7
+173,7
@@
static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, E
}
memset(buf, 0, buflen - len);
- if (len != BN_bn2bin(x, buf + buflen - len))
+ if (len !=
(size_t)
BN_bn2bin(x, buf + buflen - len))
{
ECDHerr(ECDH_F_ECDH_COMPUTE_KEY,ERR_R_BN_LIB);
goto err;