зеркало из https://github.com/mozilla/pjs.git
Initialize type field to clear off purify warnings.
This commit is contained in:
Родитель
05657ee653
Коммит
bf47db16b4
|
@ -3563,6 +3563,7 @@ PK11_CreateDigestContext(SECOidTag hashAlg)
|
|||
/* maybe should really be PK11_GenerateNewParam?? */
|
||||
param.data = NULL;
|
||||
param.len = 0;
|
||||
param.type = 0;
|
||||
|
||||
context = pk11_CreateNewContextInSlot(type, slot, CKA_DIGEST, NULL, ¶m);
|
||||
PK11_FreeSlot(slot);
|
||||
|
|
|
@ -3190,6 +3190,7 @@ PK11_ParamFromIV(CK_MECHANISM_TYPE type,SECItem *iv)
|
|||
if (param == NULL) return NULL;
|
||||
param->data = NULL;
|
||||
param->len = 0;
|
||||
param->type = 0;
|
||||
switch (type) {
|
||||
case CKM_AES_ECB:
|
||||
case CKM_DES_ECB:
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
*
|
||||
* Private Key Database code
|
||||
*
|
||||
* $Id: keydb.c,v 1.23 2002-06-18 16:41:41 relyea%netscape.com Exp $
|
||||
* $Id: keydb.c,v 1.24 2002-06-25 23:00:57 relyea%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "lowkeyi.h"
|
||||
|
@ -2200,6 +2200,7 @@ nsslowkey_CheckKeyDBPassword(NSSLOWKEYDBHandle *handle, SECItem *pwitem)
|
|||
/* make a secitem of the encrypted check string */
|
||||
encstring.len = dbkey->derPK.len - ( oid.len + 1 );
|
||||
encstring.data = &dbkey->derPK.data[oid.len+1];
|
||||
encstring.type = 0;
|
||||
|
||||
switch(algorithm)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
* may use your version of this file under either the MPL or the
|
||||
* GPL.
|
||||
*
|
||||
* $Id: ssl3con.c,v 1.37 2002-06-22 01:40:32 nelsonb%netscape.com Exp $
|
||||
* $Id: ssl3con.c,v 1.38 2002-06-25 23:00:59 relyea%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nssrenam.h"
|
||||
|
@ -1105,6 +1105,7 @@ const ssl3BulkCipherDef *cipher_def;
|
|||
|
||||
mac_param.data = (unsigned char *)&macLength;
|
||||
mac_param.len = sizeof(macLength);
|
||||
mac_param.type = 0;
|
||||
mac_mech = pwSpec->mac_def->mmech;
|
||||
|
||||
if (cipher_def->calg == calg_null) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче