git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[sfrench/cifs-2.6.git]
/
crypto
/
ecdh.c
diff --git
a/crypto/ecdh.c
b/crypto/ecdh.c
index 3de289806d6784d0affcdc356d16a2fee3d31d65..63ca33771e4e771ebd0307d75e0e82c284cc51df 100644
(file)
--- a/
crypto/ecdh.c
+++ b/
crypto/ecdh.c
@@
-38,7
+38,8
@@
static unsigned int ecdh_supported_curve(unsigned int curve_id)
}
}
-static int ecdh_set_secret(struct crypto_kpp *tfm, void *buf, unsigned int len)
+static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
+ unsigned int len)
{
struct ecdh_ctx *ctx = ecdh_get_ctx(tfm);
struct ecdh params;