Modified PK11_TokenKeyGenWithFlags to take a PK11AttrFlags parameter.
PK11AttrFlags controls the values of commonly used PKCS #11 object
attributes that have Boolean values. r=relyea,nelsonb.
Modified Files:
nss/nss.def pk11wrap/pk11akey.c pk11wrap/pk11obj.c
pk11wrap/pk11pub.h pk11wrap/pk11skey.c pk11wrap/secmodi.h
pk11wrap/secmodt.h
git-svn-id: svn://10.0.0.236/trunk@179557 18797224-902f-48f8-a5cc-f745e15eee43
EC_ValidatePublicKey, set error codes and handle a NULL return from
ECGroup_fromName. 3. In the ECGroupStr structure, move the validate_point
field up. 4. In the test cases, if the tests that should fail, passed,
say so in the error messages. r=douglas@stebila.ca.
Modified Files:
blapi.h ec.c ecl/ecl-priv.h ecl/ecl.c ecl/ecl.h
ecl/tests/ec2_test.c ecl/tests/ecp_test.c
git-svn-id: svn://10.0.0.236/trunk@179115 18797224-902f-48f8-a5cc-f745e15eee43
Add -z defs linker option for Solaris and Linux .
Also add -z ignore on Solaris .
git-svn-id: svn://10.0.0.236/trunk@179021 18797224-902f-48f8-a5cc-f745e15eee43
r=wtc
sr-julien
Side effects: Root cert module now works with CKF_OS_LOCKING_OK and not callbacks,
but does not work if CKF_OS_LOCKING_OK == 0 and callbacks are define.
git-svn-id: svn://10.0.0.236/trunk@178983 18797224-902f-48f8-a5cc-f745e15eee43
buffer using the same union member. r=relyea.
VFYContextCVS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@178877 18797224-902f-48f8-a5cc-f745e15eee43
distributions are using zlib 1.1.4, which causes our signtool tests to
fail intermittently. Don't know why.
git-svn-id: svn://10.0.0.236/trunk@178324 18797224-902f-48f8-a5cc-f745e15eee43
(such as Red Hat and Fedora) whose GCC generates 32-bit code by default.
r=cls.
git-svn-id: svn://10.0.0.236/trunk@178176 18797224-902f-48f8-a5cc-f745e15eee43
access to the dom window
patch by Christian Persch <chpe@gnome.org> r=jgmyers sr=roc a=asa
git-svn-id: svn://10.0.0.236/trunk@177944 18797224-902f-48f8-a5cc-f745e15eee43
Added try/catch block around the method calls within toString(). Calls
such as getInetAddress(), getPort() etc does not check if the socket is
closed, and when applications use toString() on a closed socket, there
is an uncaught exception.
git-svn-id: svn://10.0.0.236/trunk@177919 18797224-902f-48f8-a5cc-f745e15eee43
sr=brendan r=wtc a=dbaron
The issue is the use of the PL_DHash* functions. It's possible that a given call
to PL_DHashOperate which adds a new entry may cause the hash table to expand,
and all the existing entries to be reallocated. PL_DHash does this by allocating
new memory, then copying the entries.
getCacheEntry() returns one of these hash entries. CmpBy() makes two consecutive
calls to getCacheEntry, then uses the returned entries for it's comparisons. If
the second entry call causes a new entry to be added to the table, and causes
the hash table to expand, the pointer to the first entry we retrieved will point
to freed memory.
The fix is to make the usable entry a pointer in the hashtable entry, and return
that pointer. When the hashtable rebuilds it's entries, the pointer will be
copied to the new entry and not be disturbed.
git-svn-id: svn://10.0.0.236/trunk@177782 18797224-902f-48f8-a5cc-f745e15eee43
Fixed compilation errors of new ECC code added in the previous checkin.
r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@177781 18797224-902f-48f8-a5cc-f745e15eee43
we can generate and verify signatures that use SHA-512. r=relyea
Modified files: secsign.c secvfy.c
git-svn-id: svn://10.0.0.236/trunk@177676 18797224-902f-48f8-a5cc-f745e15eee43
public key's algorithm, to VFY_VerifyData and VFY_VerifyDigest. Only
fixed this in cmssiginfo.c. In p7decode.c I just added comments saying
they should be fixed. r=relyea.
Modified files: lib/smime/cmssiginfo.c lib/pkcs7/p7decode.c
git-svn-id: svn://10.0.0.236/trunk@177673 18797224-902f-48f8-a5cc-f745e15eee43
#/********************************************************************/
#/* The VERSION Strings should be updated in the following */
#/* files everytime a new release of JSS is generated: */
#/* */
#/* org/mozilla/jss/CryptoManager.java */
#/* org/mozilla/jss/CryptoManager.c */
#/* org/mozilla/jss/util/jssver.h */
#/* lib/manifest.mn */
#/* */
#/********************************************************************/
git-svn-id: svn://10.0.0.236/trunk@177648 18797224-902f-48f8-a5cc-f745e15eee43