From: Dr. Stephen Henson Date: Tue, 15 Oct 2013 00:17:40 +0000 (+0100) Subject: Fix warning. X-Git-Tag: master-post-reformat~1133 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=579a7590713bde9f86c941170c2ef8abb679e70b;ds=sidebyside Fix warning. --- diff --git a/crypto/ecdh/ech_kdf.c b/crypto/ecdh/ech_kdf.c index 848b91745f..54caee56d7 100644 --- a/crypto/ecdh/ech_kdf.c +++ b/crypto/ecdh/ech_kdf.c @@ -59,8 +59,8 @@ /* Key derivation function from X9.62/SECG */ - -#define ECDH_KDF_MAX (1L << 31) +/* Way more than we will ever need */ +#define ECDH_KDF_MAX (1 << 30) int ECDH_KDF_X9_62(unsigned char *out, size_t outlen, const unsigned char *Z, size_t Zlen,