Fix warning.

(cherry picked from commit f6983769c1bcd6c3c6b6bbfbbc41848f6dccf127)
This commit is contained in:
Dr. Stephen Henson 2013-10-15 01:17:40 +01:00
parent a9d0c56de1
commit 72550c52ed

View File

@ -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,