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:
da317b9
)
Fix warning.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 15 Oct 2013 00:17:40 +0000
(
01:17
+0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 15 Oct 2013 10:33:30 +0000
(11:33 +0100)
crypto/ecdh/ech_kdf.c
patch
|
blob
|
history
diff --git
a/crypto/ecdh/ech_kdf.c
b/crypto/ecdh/ech_kdf.c
index 848b91745f575e6dda917ede0a4b6fcc020adffe..54caee56d70f39a28807a1d9c03e1ecfb7d18b49 100644
(file)
--- 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 (1
L << 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,