From 86e36c4c2b6ccc6053afa2657ccb5659edf9af6a Mon Sep 17 00:00:00 2001 From: "Christoph M. Wintersteiger" Date: Thu, 6 Dec 2018 17:27:31 +0000 Subject: [PATCH] ECDH: Replace hex literal with decimal in ecp.c --- library/ecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 library/ecp.c diff --git a/library/ecp.c b/library/ecp.c old mode 100644 new mode 100755 index 1420f22cb..c7f54a195 --- a/library/ecp.c +++ b/library/ecp.c @@ -411,7 +411,7 @@ static const mbedtls_ecp_curve_info ecp_supported_curves[] = { MBEDTLS_ECP_DP_SECP192K1, 18, 192, "secp192k1" }, #endif #if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED) - { MBEDTLS_ECP_DP_CURVE25519, 0x001D, 256, "x25519" }, + { MBEDTLS_ECP_DP_CURVE25519, 29, 256, "x25519" }, #endif { MBEDTLS_ECP_DP_NONE, 0, 0, NULL }, };