summaryrefslogtreecommitdiffstats
path: root/crypto/ecdh
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-06-19 16:56:48 +0000
committerRichard Levitte <levitte@openssl.org>2003-06-19 16:56:48 +0000
commit4e9023f4d23a13387f490e83dae82e97d7d8a7a0 (patch)
tree01ccb3dbcffe5ed2f3bf4a585a5a44afb2011b6a /crypto/ecdh
parentd3a28e8b8da8ecde549e842249ff12a53390d51c (diff)
Unsigned vs. signed fixed.
Diffstat (limited to 'crypto/ecdh')
-rw-r--r--crypto/ecdh/ech_ossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecdh/ech_ossl.c b/crypto/ecdh/ech_ossl.c
index 6a8ed84644..c7633bac7f 100644
--- 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;