зеркало из https://github.com/mozilla/pjs.git
Bug 618368, Mozilla upgrade to NSS 3.12.9 final (includes NSPR 4.8.7 final). a=blocking-fennec-2.0+=doug.turner
This commit is contained in:
Родитель
7f2c5f8976
Коммит
b3fc59e5fd
|
@ -1 +1 @@
|
|||
NSPR_4_8_7_BETA2
|
||||
NSPR_4_8_7_RTM
|
||||
|
|
|
@ -43,3 +43,4 @@
|
|||
|
||||
#error "Do not include this header file."
|
||||
|
||||
|
||||
|
|
|
@ -462,6 +462,14 @@ $(filter $(OBJDIR)/%.$(OBJ_SUFFIX),$(OBJS)): $(OBJDIR)/%.$(OBJ_SUFFIX): $(DUMMY_
|
|||
# Special gmake rules.
|
||||
################################################################################
|
||||
|
||||
#
|
||||
# Disallow parallel builds with MSVC < 8 since it can't open the PDB file in
|
||||
# parallel.
|
||||
#
|
||||
ifeq (,$(filter-out 1200 1300 1310,$(MSC_VER)))
|
||||
.NOTPARALLEL:
|
||||
endif
|
||||
|
||||
#
|
||||
# Re-define the list of default suffixes, so gmake won't have to churn through
|
||||
# hundreds of built-in suffix rules for stuff we don't need.
|
||||
|
|
|
@ -63,11 +63,11 @@ PR_BEGIN_EXTERN_C
|
|||
** The format of the version string is
|
||||
** "<major version>.<minor version>[.<patch level>] [<Beta>]"
|
||||
*/
|
||||
#define PR_VERSION "4.8.7 Beta"
|
||||
#define PR_VERSION "4.8.7"
|
||||
#define PR_VMAJOR 4
|
||||
#define PR_VMINOR 8
|
||||
#define PR_VPATCH 7
|
||||
#define PR_BETA PR_TRUE
|
||||
#define PR_BETA PR_FALSE
|
||||
|
||||
/*
|
||||
** PRVersionCheck
|
||||
|
|
|
@ -44,3 +44,4 @@
|
|||
#error "Do not include this header file."
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
NSS_3_12_9_BETA2
|
||||
NSS_3_12_9_RTM
|
||||
|
|
|
@ -422,7 +422,8 @@ JPAKE_Round2(PLArenaPool * arena,
|
|||
SECITEM_TO_MPINT(*x2, &X2);
|
||||
|
||||
SECITEM_TO_MPINT(*s, &S);
|
||||
if (mp_cmp(&S, &Q) >= 0) {
|
||||
/* S must be in [1, Q-1] */
|
||||
if (mp_cmp_z(&S) <= 0 || mp_cmp(&S, &Q) >= 0) {
|
||||
err = MP_BADARG;
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
|
@ -151,6 +151,7 @@ EnumSystemFilesInFolder(Handler func, PRUnichar* szSysDir, int maxDepth)
|
|||
return;
|
||||
// append *.* so we actually look for files.
|
||||
_snwprintf(szFileName, _MAX_PATH, L"%s\\*.*", szSysDir);
|
||||
szFileName[_MAX_PATH - 1] = L'\0';
|
||||
|
||||
lFindHandle = FindFirstFileW(szFileName, &fdData);
|
||||
if (lFindHandle == INVALID_HANDLE_VALUE)
|
||||
|
@ -164,6 +165,7 @@ EnumSystemFilesInFolder(Handler func, PRUnichar* szSysDir, int maxDepth)
|
|||
// pass the full pathname to the callback
|
||||
_snwprintf(szFileName, _MAX_PATH, L"%s\\%s", szSysDir,
|
||||
fdData.cFileName);
|
||||
szFileName[_MAX_PATH - 1] = L'\0';
|
||||
if (fdData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
|
||||
if (++uFolders <= MAX_FOLDERS)
|
||||
EnumSystemFilesInFolder(func, szFileName, maxDepth - 1);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: nss.h,v 1.81.2.3 2010/09/23 17:07:52 christophe.ravel.bugs%sun.com Exp $ */
|
||||
/* $Id: nss.h,v 1.81.2.4 2011/01/06 18:04:16 christophe.ravel.bugs%sun.com Exp $ */
|
||||
|
||||
#ifndef __nss_h_
|
||||
#define __nss_h_
|
||||
|
@ -66,12 +66,12 @@
|
|||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
|
||||
*/
|
||||
#define NSS_VERSION "3.12.9.0" _NSS_ECC_STRING _NSS_CUSTOMIZED " Beta"
|
||||
#define NSS_VERSION "3.12.9.0" _NSS_ECC_STRING _NSS_CUSTOMIZED
|
||||
#define NSS_VMAJOR 3
|
||||
#define NSS_VMINOR 12
|
||||
#define NSS_VPATCH 9
|
||||
#define NSS_VBUILD 0
|
||||
#define NSS_BETA PR_TRUE
|
||||
#define NSS_BETA PR_FALSE
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pkistore.c,v $ $Revision: 1.33 $ $Date: 2008/06/06 01:19:30 $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pkistore.c,v $ $Revision: 1.33.40.1 $ $Date: 2010/12/17 20:14:38 $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef PKIM_H
|
||||
|
@ -650,7 +650,11 @@ nssCertificateStore_AddTrust (
|
|||
entry = (certificate_hash_entry *)
|
||||
nssHash_Lookup(store->issuer_and_serial, cert);
|
||||
if (entry) {
|
||||
entry->trust = nssTrust_AddRef(trust);
|
||||
NSSTrust* newTrust = nssTrust_AddRef(trust);
|
||||
if (entry->trust) {
|
||||
nssTrust_Destroy(entry->trust);
|
||||
}
|
||||
entry->trust = newTrust;
|
||||
}
|
||||
PZ_Unlock(store->lock);
|
||||
return (entry) ? PR_SUCCESS : PR_FAILURE;
|
||||
|
@ -687,7 +691,11 @@ nssCertificateStore_AddSMIMEProfile (
|
|||
entry = (certificate_hash_entry *)
|
||||
nssHash_Lookup(store->issuer_and_serial, cert);
|
||||
if (entry) {
|
||||
entry->profile = nssSMIMEProfile_AddRef(profile);
|
||||
nssSMIMEProfile* newProfile = nssSMIMEProfile_AddRef(profile);
|
||||
if (entry->profile) {
|
||||
nssSMIMEProfile_Destroy(entry->profile);
|
||||
}
|
||||
entry->profile = newProfile;
|
||||
}
|
||||
PZ_Unlock(store->lock);
|
||||
return (entry) ? PR_SUCCESS : PR_FAILURE;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
/*
|
||||
* CMS decoding.
|
||||
*
|
||||
* $Id: cmsdecode.c,v 1.9 2006/08/05 01:19:23 julien.pierre.bugs%sun.com Exp $
|
||||
* $Id: cmsdecode.c,v 1.9.66.1 2010/12/23 18:03:41 kaie%kuix.de Exp $
|
||||
*/
|
||||
|
||||
#include "cmslocal.h"
|
||||
|
@ -463,6 +463,11 @@ nss_cms_decoder_work_data(NSSCMSDecoderContext *p7dcx,
|
|||
PORT_Assert ((data != NULL && len) || final);
|
||||
|
||||
cinfo = NSS_CMSContent_GetContentInfo(p7dcx->content.pointer, p7dcx->type);
|
||||
if (!cinfo) {
|
||||
/* The original programmer didn't expect this to happen */
|
||||
p7dcx->error = SEC_ERROR_LIBRARY_FAILURE;
|
||||
goto loser;
|
||||
}
|
||||
|
||||
if (cinfo->ciphcx != NULL) {
|
||||
/*
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
/*
|
||||
* CMS encoding.
|
||||
*
|
||||
* $Id: cmsencode.c,v 1.6 2006/06/08 22:01:02 nelson%bolyard.com Exp $
|
||||
* $Id: cmsencode.c,v 1.6.66.1 2010/12/23 18:03:41 kaie%kuix.de Exp $
|
||||
*/
|
||||
|
||||
#include "cmslocal.h"
|
||||
|
@ -425,6 +425,11 @@ nss_cms_encoder_work_data(NSSCMSEncoderContext *p7ecx, SECItem *dest,
|
|||
|
||||
/* we got data (either from the caller, or from a lower level encoder) */
|
||||
cinfo = NSS_CMSContent_GetContentInfo(p7ecx->content.pointer, p7ecx->type);
|
||||
if (!cinfo) {
|
||||
/* The original programmer didn't expect this to happen */
|
||||
p7ecx->error = SEC_ERROR_LIBRARY_FAILURE;
|
||||
return SECFailure;
|
||||
}
|
||||
|
||||
/* Update the running digest. */
|
||||
if (len && cinfo->digcx != NULL)
|
||||
|
@ -628,6 +633,12 @@ NSS_CMSEncoder_Update(NSSCMSEncoderContext *p7ecx, const char *data, unsigned lo
|
|||
/* we are at innermost decoder */
|
||||
/* find out about our inner content type - must be data */
|
||||
cinfo = NSS_CMSContent_GetContentInfo(p7ecx->content.pointer, p7ecx->type);
|
||||
if (!cinfo) {
|
||||
/* The original programmer didn't expect this to happen */
|
||||
p7ecx->error = SEC_ERROR_LIBRARY_FAILURE;
|
||||
return SECFailure;
|
||||
}
|
||||
|
||||
childtype = NSS_CMSContentInfo_GetContentTypeTag(cinfo);
|
||||
if (childtype != SEC_OID_PKCS7_DATA)
|
||||
return SECFailure;
|
||||
|
@ -728,6 +739,12 @@ NSS_CMSEncoder_Finish(NSSCMSEncoderContext *p7ecx)
|
|||
|
||||
/* find out about our inner content type - must be data */
|
||||
cinfo = NSS_CMSContent_GetContentInfo(p7ecx->content.pointer, p7ecx->type);
|
||||
if (!cinfo) {
|
||||
/* The original programmer didn't expect this to happen */
|
||||
p7ecx->error = SEC_ERROR_LIBRARY_FAILURE;
|
||||
rv = SECFailure;
|
||||
goto loser;
|
||||
}
|
||||
childtype = NSS_CMSContentInfo_GetContentTypeTag(cinfo);
|
||||
if (childtype == SEC_OID_PKCS7_DATA && cinfo->content.data == NULL) {
|
||||
SEC_ASN1EncoderClearTakeFromBuf(p7ecx->ecx);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: lginit.c,v 1.14 2009/02/03 23:18:48 julien.pierre.boogz%sun.com Exp $ */
|
||||
/* $Id: lginit.c,v 1.14.22.1 2011/01/06 19:55:02 wtc%google.com Exp $ */
|
||||
|
||||
#include "lowkeyi.h"
|
||||
#include "pcert.h"
|
||||
|
@ -540,9 +540,11 @@ lg_init(SDB **pSdb, int flags, NSSLOWCERTCertDBHandle *certdbPtr,
|
|||
goto loser;
|
||||
}
|
||||
|
||||
sdb->private = lgdb_p;
|
||||
sdb->version = 0;
|
||||
sdb->sdb_type = SDB_LEGACY;
|
||||
sdb->sdb_flags = flags;
|
||||
sdb->private = lgdb_p;
|
||||
sdb->app_private = NULL;
|
||||
sdb->sdb_FindObjectsInit = lg_FindObjectsInit;
|
||||
sdb->sdb_FindObjects = lg_FindObjects;
|
||||
sdb->sdb_FindObjectsFinal = lg_FindObjectsFinal;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
*
|
||||
* Contributor(s):
|
||||
* Robert Relyea (rrelyea@redhat.com)
|
||||
* Meena Vyas (meena.vyas@oracle.com)
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
|
@ -1910,8 +1911,10 @@ sdb_init(char *dbname, char *table, sdbDataType type, int *inUpdate,
|
|||
sdb_p->sqlXactDB = NULL;
|
||||
sdb_p->sqlXactThread = NULL;
|
||||
sdb->private = sdb_p;
|
||||
sdb->version = 0;
|
||||
sdb->sdb_type = SDB_SQL;
|
||||
sdb->sdb_flags = flags | SDB_HAS_META;
|
||||
sdb->app_private = NULL;
|
||||
sdb->sdb_FindObjectsInit = sdb_FindObjectsInit;
|
||||
sdb->sdb_FindObjects = sdb_FindObjects;
|
||||
sdb->sdb_FindObjectsFinal = sdb_FindObjectsFinal;
|
||||
|
@ -1924,6 +1927,7 @@ sdb_init(char *dbname, char *table, sdbDataType type, int *inUpdate,
|
|||
sdb->sdb_Begin = sdb_Begin;
|
||||
sdb->sdb_Commit = sdb_Commit;
|
||||
sdb->sdb_Abort = sdb_Abort;
|
||||
sdb->sdb_Reset = sdb_Reset;
|
||||
sdb->sdb_Close = sdb_Close;
|
||||
sdb->sdb_SetForkState = sdb_SetForkState;
|
||||
|
||||
|
|
|
@ -57,11 +57,11 @@
|
|||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
|
||||
*/
|
||||
#define SOFTOKEN_VERSION "3.12.9.0" SOFTOKEN_ECC_STRING " Beta"
|
||||
#define SOFTOKEN_VERSION "3.12.9.0" SOFTOKEN_ECC_STRING
|
||||
#define SOFTOKEN_VMAJOR 3
|
||||
#define SOFTOKEN_VMINOR 12
|
||||
#define SOFTOKEN_VPATCH 9
|
||||
#define SOFTOKEN_VBUILD 0
|
||||
#define SOFTOKEN_BETA PR_TRUE
|
||||
#define SOFTOKEN_BETA PR_FALSE
|
||||
|
||||
#endif /* _SOFTKVER_H_ */
|
||||
|
|
|
@ -51,11 +51,11 @@
|
|||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <Beta>]"
|
||||
*/
|
||||
#define NSSUTIL_VERSION "3.12.9.0 Beta"
|
||||
#define NSSUTIL_VERSION "3.12.9.0"
|
||||
#define NSSUTIL_VMAJOR 3
|
||||
#define NSSUTIL_VMINOR 12
|
||||
#define NSSUTIL_VPATCH 9
|
||||
#define NSSUTIL_VBUILD 0
|
||||
#define NSSUTIL_BETA PR_TRUE
|
||||
#define NSSUTIL_BETA PR_FALSE
|
||||
|
||||
#endif /* __nssutil_h_ */
|
||||
|
|
Двоичные данные
security/nss/tests/libpkix/certs/PayPalEE.cert
Двоичные данные
security/nss/tests/libpkix/certs/PayPalEE.cert
Двоичный файл не отображается.
Загрузка…
Ссылка в новой задаче