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,
|
||||
unsigned char *buf, size_t buflen )
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
size_t plen;
|
||||
|
||||
if( format != POLARSSL_ECP_PF_UNCOMPRESSED &&
|
||||
|
Loading…
Reference in New Issue
Block a user