From: Richard Levitte Date: Thu, 19 Jun 2003 16:56:48 +0000 (+0000) Subject: Unsigned vs. signed fixed. X-Git-Tag: BEN_FIPS_TEST_1~38^2~48 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e9023f4d23a13387f490e83dae82e97d7d8a7a0;p=oweals%2Fopenssl.git Unsigned vs. signed fixed. --- 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;