From b7da19493986198e6d8bc02ea84da1d43a23d436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 19 Oct 2015 13:35:22 +0200 Subject: [PATCH] ecjpake: fix uninitialize member --- library/ecjpake.c | 1 + 1 file changed, 1 insertion(+) diff --git a/library/ecjpake.c b/library/ecjpake.c index 6a7245215..fd54a7d2d 100644 --- a/library/ecjpake.c +++ b/library/ecjpake.c @@ -57,6 +57,7 @@ void mbedtls_ecjpake_init( mbedtls_ecjpake_context *ctx ) ctx->md_info = NULL; mbedtls_ecp_group_init( &ctx->grp ); + ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED; mbedtls_ecp_point_init( &ctx->Xm1 ); mbedtls_ecp_point_init( &ctx->Xm2 );