summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ecdh_ossl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-12-13 00:11:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-12-16 14:17:53 +0000
commit2c61a5eccad5085cab916c0959cb4c2fec16f9e5 (patch)
treeae8e5ab9213a1fea1a3781ec92c463a00409fe16 /crypto/ec/ecdh_ossl.c
parentc66ce5eb23f7611bd2822650d6ffeacbe0671072 (diff)
Constify EC_KEY in ECDH_compute_key.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ec/ecdh_ossl.c')
-rw-r--r--crypto/ec/ecdh_ossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ecdh_ossl.c b/crypto/ec/ecdh_ossl.c
index 94339e4ad9..b7f09eba17 100644
--- a/crypto/ec/ecdh_ossl.c
+++ b/crypto/ec/ecdh_ossl.c
@@ -85,7 +85,7 @@
* Finally an optional KDF is applied.
*/
int ossl_ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,
- EC_KEY *ecdh,
+ const EC_KEY *ecdh,
void *(*KDF) (const void *in, size_t inlen,
void *out, size_t *outlen))
{