Initialize variable
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
2baf8033ab
commit
8a41fa6f9e
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ int i2d_ECPrivateKey(EC_KEY *a, unsigned char **out)
|
|||
{
|
||||
int ret = 0, ok = 0;
|
||||
unsigned char *priv= NULL, *pub= NULL;
|
||||
size_t privlen, publen;
|
||||
size_t privlen = 0, publen = 0;
|
||||
|
||||
EC_PRIVATEKEY *priv_key = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue