mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1075686, pick up NSS 3.17.2 beta 1 to fix bug 1057161
This commit is contained in:
parent
5093e96c81
commit
5fe316221d
@ -1 +1 @@
|
||||
NSS_3_17_1_RTM
|
||||
NSS_3_17_2_BETA1
|
||||
|
@ -10,3 +10,4 @@
|
||||
*/
|
||||
|
||||
#error "Do not include this header file."
|
||||
|
||||
|
@ -870,6 +870,11 @@ cleanup:
|
||||
|
||||
/*
|
||||
** Checks the signature on the given digest using the key provided.
|
||||
**
|
||||
** The key argument must represent a valid EC public key (a point on
|
||||
** the relevant curve). If it is not a valid point, then the behavior
|
||||
** of this function is undefined. In cases where a public key might
|
||||
** not be valid, use EC_ValidatePublicKey to check.
|
||||
*/
|
||||
SECStatus
|
||||
ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature,
|
||||
|
@ -33,12 +33,12 @@
|
||||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
|
||||
*/
|
||||
#define NSS_VERSION "3.17.1" _NSS_ECC_STRING _NSS_CUSTOMIZED
|
||||
#define NSS_VERSION "3.17.2" _NSS_ECC_STRING _NSS_CUSTOMIZED " Beta"
|
||||
#define NSS_VMAJOR 3
|
||||
#define NSS_VMINOR 17
|
||||
#define NSS_VPATCH 1
|
||||
#define NSS_VPATCH 2
|
||||
#define NSS_VBUILD 0
|
||||
#define NSS_BETA PR_FALSE
|
||||
#define NSS_BETA PR_TRUE
|
||||
|
||||
#ifndef RC_INVOKED
|
||||
|
||||
|
@ -969,6 +969,17 @@ sftk_handlePublicKeyObject(SFTKSession *session, SFTKObject *object,
|
||||
}
|
||||
object->infoFree = (SFTKFree) nsslowkey_DestroyPublicKey;
|
||||
|
||||
// Check that an imported EC key is valid
|
||||
if (key_type == CKK_EC) {
|
||||
NSSLOWKEYPublicKey *pubKey = (NSSLOWKEYPublicKey*) object->objectInfo;
|
||||
SECStatus rv = EC_ValidatePublicKey(&pubKey->u.ec.ecParams,
|
||||
&pubKey->u.ec.publicValue);
|
||||
|
||||
if (rv != SECSuccess) {
|
||||
return CKR_TEMPLATE_INCONSISTENT;
|
||||
}
|
||||
}
|
||||
|
||||
if (sftk_isTrue(object,CKA_TOKEN)) {
|
||||
SFTKSlot *slot = session->slot;
|
||||
SFTKDBHandle *certHandle = sftk_getCertDB(slot);
|
||||
|
@ -25,11 +25,11 @@
|
||||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <ECC>][ <Beta>]"
|
||||
*/
|
||||
#define SOFTOKEN_VERSION "3.17.1" SOFTOKEN_ECC_STRING
|
||||
#define SOFTOKEN_VERSION "3.17.2" SOFTOKEN_ECC_STRING " Beta"
|
||||
#define SOFTOKEN_VMAJOR 3
|
||||
#define SOFTOKEN_VMINOR 17
|
||||
#define SOFTOKEN_VPATCH 1
|
||||
#define SOFTOKEN_VPATCH 2
|
||||
#define SOFTOKEN_VBUILD 0
|
||||
#define SOFTOKEN_BETA PR_FALSE
|
||||
#define SOFTOKEN_BETA PR_TRUE
|
||||
|
||||
#endif /* _SOFTKVER_H_ */
|
||||
|
@ -19,12 +19,12 @@
|
||||
* The format of the version string should be
|
||||
* "<major version>.<minor version>[.<patch level>[.<build number>]][ <Beta>]"
|
||||
*/
|
||||
#define NSSUTIL_VERSION "3.17.1"
|
||||
#define NSSUTIL_VERSION "3.17.2 Beta"
|
||||
#define NSSUTIL_VMAJOR 3
|
||||
#define NSSUTIL_VMINOR 17
|
||||
#define NSSUTIL_VPATCH 1
|
||||
#define NSSUTIL_VPATCH 2
|
||||
#define NSSUTIL_VBUILD 0
|
||||
#define NSSUTIL_BETA PR_FALSE
|
||||
#define NSSUTIL_BETA PR_TRUE
|
||||
|
||||
SEC_BEGIN_PROTOS
|
||||
|
||||
|
0
security/nss/tests/chains/chains.sh
Normal file → Executable file
0
security/nss/tests/chains/chains.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user