ecjpake: fix uninitialize member

This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-19 13:35:22 +02:00
parent dd0e9a8456
commit b7da194939

View File

@ -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 );