[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Fri Feb 5 09:14:25 UTC 2016


The branch master has been updated
       via  8a41fa6f9e969c6b58c2bda42631cc238afaf27c (commit)
      from  2baf8033ab0213f1806af923fb08206503b2abf6 (commit)


- Log -----------------------------------------------------------------
commit 8a41fa6f9e969c6b58c2bda42631cc238afaf27c
Author: Richard Levitte <levitte at openssl.org>
Date:   Fri Feb 5 08:37:12 2016 +0100

    Initialize variable
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/ec_asn1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c
index fe2a979..8276b6f 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;
 


More information about the openssl-commits mailing list