mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 20:05:40 +01:00
ecjpake: fix uninitialize member
This commit is contained in:
parent
dd0e9a8456
commit
b7da194939
@ -57,6 +57,7 @@ void mbedtls_ecjpake_init( mbedtls_ecjpake_context *ctx )
|
|||||||
|
|
||||||
ctx->md_info = NULL;
|
ctx->md_info = NULL;
|
||||||
mbedtls_ecp_group_init( &ctx->grp );
|
mbedtls_ecp_group_init( &ctx->grp );
|
||||||
|
ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED;
|
||||||
|
|
||||||
mbedtls_ecp_point_init( &ctx->Xm1 );
|
mbedtls_ecp_point_init( &ctx->Xm1 );
|
||||||
mbedtls_ecp_point_init( &ctx->Xm2 );
|
mbedtls_ecp_point_init( &ctx->Xm2 );
|
||||||
|
Loading…
Reference in New Issue
Block a user