diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-05 08:37:12 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-05 10:14:22 +0100 |
commit | 8a41fa6f9e969c6b58c2bda42631cc238afaf27c (patch) | |
tree | c7793cfaef16fcdc062134ab9f3b5547ffaa9448 /crypto/ec/ec_asn1.c | |
parent | 2baf8033ab0213f1806af923fb08206503b2abf6 (diff) |
Initialize variable
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ec/ec_asn1.c')
-rw-r--r-- | crypto/ec/ec_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c index fe2a979892..8276b6f15e 100644 --- a/crypto/ec/ec_asn1.c +++ b/crypto/ec/ec_asn1.c @@ -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; |