This commit is contained in:
jpierre%netscape.com 2002-09-07 01:48:46 +00:00
Родитель c1a26832ce
Коммит 277a6b52df
4 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -179,7 +179,7 @@ CERTPackageType
CERT_CertPackageType(SECItem *package, SECItem *certitem)
{
unsigned char *cp;
int seqLen, seqLenLen;
unsigned int seqLen, seqLenLen;
SECItem oiditem;
SECOidData *oiddata;
CERTPackageType type = certPackageNone;

Просмотреть файл

@ -37,7 +37,7 @@
* encoding/creation side *and* the decoding/decryption side. Anything
* else should be static routines in the appropriate file.
*
* $Id: p7local.c,v 1.4 2001-12-07 01:36:06 relyea%netscape.com Exp $
* $Id: p7local.c,v 1.5 2002-09-07 01:48:46 jpierre%netscape.com Exp $
*/
#include "p7local.h"
@ -1005,7 +1005,8 @@ SECStatus
sec_PKCS7ReorderAttributes (SEC_PKCS7Attribute **attrs)
{
PRArenaPool *poolp;
int num_attrs, i, j, pass, besti;
int num_attrs, i, pass, besti;
unsigned int j;
SECItem **enc_attrs;
SEC_PKCS7Attribute **new_attrs;

Просмотреть файл

@ -33,7 +33,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: ssl3con.c,v 1.40 2002-08-09 21:53:15 nelsonb%netscape.com Exp $
* $Id: ssl3con.c,v 1.41 2002-09-07 01:44:11 jpierre%netscape.com Exp $
*/
#include "nssrenam.h"
@ -789,7 +789,7 @@ ssl3_ComputeExportRSAKeyHash(SECItem modulus, SECItem publicExponent,
pBuf += 2;
memcpy(pBuf, publicExponent.data, publicExponent.len);
pBuf += publicExponent.len;
PORT_Assert(pBuf - hashBuf == bufLen);
PORT_Assert((unsigned int)(pBuf - hashBuf) == bufLen);
rv = PK11_DigestBegin(md5);
rv |= PK11_DigestOp(md5, hashBuf, bufLen);
@ -880,7 +880,7 @@ ssl3_ComputeDHKeyHash(SECItem dh_p, SECItem dh_g, SECItem dh_Ys,
pBuf += 2;
memcpy(pBuf, dh_Ys.data, dh_Ys.len);
pBuf += dh_Ys.len;
PORT_Assert(pBuf - hashBuf == bufLen);
PORT_Assert((unsigned int)(pBuf - hashBuf) == bufLen);
rv = PK11_DigestBegin(md5);
rv |= PK11_DigestOp(md5, hashBuf, bufLen);

Просмотреть файл

@ -30,7 +30,7 @@
* may use your version of this file under either the MPL or the
* GPL.
*
* $Id: sslmutex.c,v 1.14 2002-05-18 03:24:17 wtc%netscape.com Exp $
* $Id: sslmutex.c,v 1.15 2002-09-07 01:44:11 jpierre%netscape.com Exp $
*/
#include "seccomon.h"
@ -370,7 +370,6 @@ static SECStatus sslMutex_2LevelDestroy(sslMutex *sem)
SECStatus
sslMutex_Init(sslMutex *pMutex, int shared)
{
SECStatus retvalue;
HANDLE hMutex;
SECURITY_ATTRIBUTES attributes =
{ sizeof(SECURITY_ATTRIBUTES), NULL, TRUE };