mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fixed compiler warning for possible uninitialized ret
This commit is contained in:
@ -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 &&
|
||||||
|
Reference in New Issue
Block a user