mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-30 23:11:10 +00:00
Fixed compiler warning for possible uninitialized ret
This commit is contained in:
parent
27714b1aa1
commit
a280d0f2b9
|
@ -191,7 +191,7 @@ int ecp_point_write_binary( const ecp_group *grp, const ecp_point *P,
|
||||||
int format, size_t *olen,
|
int format, size_t *olen,
|
||||||
unsigned char *buf, size_t buflen )
|
unsigned char *buf, size_t buflen )
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = 0;
|
||||||
size_t plen;
|
size_t plen;
|
||||||
|
|
||||||
if( format != POLARSSL_ECP_PF_UNCOMPRESSED &&
|
if( format != POLARSSL_ECP_PF_UNCOMPRESSED &&
|
||||||
|
|
Loading…
Reference in a new issue