Fixed compiler warning for possible uninitialized ret

This commit is contained in:
Paul Bakker 2013-04-08 13:40:17 +02:00
parent 27714b1aa1
commit a280d0f2b9

View File

@ -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 &&