From 2c61a5eccad5085cab916c0959cb4c2fec16f9e5 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 13 Dec 2015 00:11:42 +0000 Subject: Constify EC_KEY in ECDH_compute_key. Reviewed-by: Richard Levitte --- crypto/ec/ecdh_ossl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/ec/ecdh_ossl.c') 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)) { -- cgit v1.2.3