Fixed compiler warning for possible uninitialized ret
This commit is contained in:
parent
27714b1aa1
commit
a280d0f2b9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue