From 5f7cf266e59fc8d83366f508ffdf8cfebe0842ea Mon Sep 17 00:00:00 2001 From: "alexei.volkov.bugs%sun.com" Date: Mon, 9 Oct 2006 22:26:44 +0000 Subject: [PATCH] 353888: klockwork IDs for ssl3con.c. r=nelson git-svn-id: svn://10.0.0.236/trunk@213367 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/ssl/ssl3con.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/security/nss/lib/ssl/ssl3con.c b/mozilla/security/nss/lib/ssl/ssl3con.c index 3bcc0673b99..9409d634d02 100644 --- a/mozilla/security/nss/lib/ssl/ssl3con.c +++ b/mozilla/security/nss/lib/ssl/ssl3con.c @@ -39,7 +39,7 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ -/* $Id: ssl3con.c,v 1.97 2006-09-02 18:53:54 nelson%bolyard.com Exp $ */ +/* $Id: ssl3con.c,v 1.98 2006-10-09 22:26:44 alexei.volkov.bugs%sun.com Exp $ */ #include "nssrenam.h" #include "cert.h" @@ -1651,7 +1651,7 @@ ssl3_ComputeRecordMAC( } else { /* bypass version */ const SECHashObject *hashObj = NULL; - unsigned int pad_bytes; + unsigned int pad_bytes = 0; PRUint64 write_mac_context[MAX_MAC_CONTEXT_LLONGS]; switch (mac_def->mac) { @@ -3942,7 +3942,7 @@ getWrappingKey( sslSocket * ss, /* wrap symmetric wrapping key in server's public key. */ switch (exchKeyType) { #ifdef NSS_ENABLE_ECC - PK11SymKey * Ks; + PK11SymKey * Ks = NULL; SECKEYPublicKey *pubWrapKey = NULL; SECKEYPrivateKey *privWrapKey = NULL; ECCWrappedKeyInfo *ecWrapped;