Commit 0504c398 authored by Giulio Benetti's avatar Giulio Benetti

Bug 1606025 - Remove -Wmaybe-uninitialized warning in sslsnce.c r=jcj

(Amended by jcj to also set privKeyCopy to NULL)

--HG--
extra : amend_source : 260662724fc9786c34b0b4550e77750744e02627
parent e4d2e931
......@@ -1779,8 +1779,8 @@ ssl_GetSelfEncryptKeyPair(SECKEYPublicKey **pubKey,
return SECFailure;
}
SECKEYPublicKey *pubKeyCopy;
SECKEYPrivateKey *privKeyCopy;
SECKEYPublicKey *pubKeyCopy = NULL;
SECKEYPrivateKey *privKeyCopy = NULL;
PRBool noKey = PR_FALSE;
PR_RWLock_Rlock(ssl_self_encrypt_key_pair.lock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment