projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2baf803
)
Initialize variable
author
Richard Levitte
<levitte@openssl.org>
Fri, 5 Feb 2016 07:37:12 +0000
(08:37 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 5 Feb 2016 09:14:22 +0000
(10:14 +0100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/ec/ec_asn1.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_asn1.c
b/crypto/ec/ec_asn1.c
index fe2a979892c94b6e9b1fa979522a9fbc0871d54e..8276b6f15e4283053ce438bb31f23a923868933e 100644
(file)
--- 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;