diff options
Diffstat (limited to 'crypto/ecdh/ech_key.c')
-rw-r--r-- | crypto/ecdh/ech_key.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/ecdh/ech_key.c b/crypto/ecdh/ech_key.c index 7d1bb32ae0..f44da9298b 100644 --- a/crypto/ecdh/ech_key.c +++ b/crypto/ecdh/ech_key.c @@ -67,13 +67,14 @@ * */ -#include "ecdh.h" +#include "ech_locl.h" #ifndef OPENSSL_NO_ENGINE #include <openssl/engine.h> #endif -int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *eckey, - void *(*KDF)(void *in, size_t inlen, void *out, size_t outlen)) +int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, + EC_KEY *eckey, + void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen)) { ECDH_DATA *ecdh = ecdh_check(eckey); if (ecdh == NULL) |