From 2e724a18a10c3243b85f9cff15d9b33d7571564c Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Mon, 7 Jan 2019 14:19:41 +0000 Subject: [PATCH] ECDH: Fix Everest ECDH side type --- library/ecdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 library/ecdh.c diff --git a/library/ecdh.c b/library/ecdh.c old mode 100644 new mode 100755 index fec88d081..58e67bfab --- a/library/ecdh.c +++ b/library/ecdh.c @@ -506,7 +506,7 @@ int mbedtls_ecdh_get_params( mbedtls_ecdh_context *ctx, #if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) case MBEDTLS_ECDH_VARIANT_EVEREST: { - mbedtls_x25519_ecdh_side s = side == MBEDTLS_ECDH_OURS ? + mbedtls_everest_ecdh_side s = side == MBEDTLS_ECDH_OURS ? MBEDTLS_EVEREST_ECDH_OURS : MBEDTLS_EVEREST_ECDH_THEIRS; return( mbedtls_everest_get_params( &ctx->ctx.everest_ecdh,