wtc%netscape.com
3ed557f63f
Bug 183612: SECMOD_InitCallOnce() and SECMOD_CleanupCallOnce() should be
...
declared and defined with an argument list of "(void)" instead of "()".
Modified Files: pk11cert.c secmodi.h
git-svn-id: svn://10.0.0.236/trunk@135492 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 07:03:39 +00:00
nicolson%netscape.com
19837f51d9
Fix 186097: ProofOfPossession.encode() has paranoid assertion.
...
git-svn-id: svn://10.0.0.236/trunk@135481 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 02:31:38 +00:00
wtc%netscape.com
9bb9b998ad
Bug 183612: renamed some new functions to be consistent with existing
...
function names containing SubjectKey and PublicKey. Moved internal
functions to private headers and use the lowercase cert_ prefix for the
internal functions for subject key ID mapping hash table. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@135480 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:26:34 +00:00
relyea%netscape.com
6aa398e467
Bug 186058
...
git-svn-id: svn://10.0.0.236/trunk@135473 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:55:53 +00:00
nicolson%netscape.com
0d19ebb1e6
Partial fix for 184754: assertion violation in get_token_certs_for_cache.
...
Don't assert if we fail to lookup the cert we just imported. It could
be a bug in the PKCS #11 driver. Instead, throw an exception.
git-svn-id: svn://10.0.0.236/trunk@135467 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:14:48 +00:00
kaie%netscape.com
eada7e261c
Temporary fix for bug 182803.
...
While this masks the reported crashes, this is nothing more than a workaround patch.
As long as this patch is in place, any attempt to do profile switching at run time will fail.
We need real fixes for bug 181230 and 177260.
r=javi sr=darin
git-svn-id: svn://10.0.0.236/trunk@135460 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 12:50:35 +00:00
wtc%netscape.com
29e9e50079
Bug 183612: fixed the bug that 'extra' may be used uninitialized. r=javi.
...
git-svn-id: svn://10.0.0.236/trunk@135445 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 02:06:01 +00:00
wtc%netscape.com
3d91602837
Set NSS version to 3.8 Beta on the trunk.
...
git-svn-id: svn://10.0.0.236/trunk@135437 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:04:46 +00:00
wtc%netscape.com
6abee61f79
Export CERT_DestroyOCSPResponse in 3.7. Moved HASH_GetHashObjectByOidTag,
...
HASH_GetHashTypeByOidTag, and SECITEM_ItemsAreEqual from 3.7 to 3.8.
git-svn-id: svn://10.0.0.236/trunk@135436 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:02:53 +00:00
relyea%netscape.com
b6c3b8ab7a
Make sure the session is protected over PKCS #11 calls.
...
git-svn-id: svn://10.0.0.236/trunk@135409 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 18:22:38 +00:00
wtc%netscape.com
95cab123a2
Need to test for null pointers before destroying the lock and condition
...
variable. If NSS initialization fails, this lock and condition variable
may not get created.
git-svn-id: svn://10.0.0.236/trunk@135382 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 02:47:46 +00:00
wtc%netscape.com
a4b978b840
I made a mistake in the previous checkin. certdb.h doesn't need to be
...
included because the new function CERT_FindCertBySubjKeyID is declared in
cert.h.
git-svn-id: svn://10.0.0.236/trunk@135380 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 02:08:51 +00:00
wtc%netscape.com
688bbc9eba
Bug 183612: added support for looking up a cert by subject key ID and
...
creating a CMS recipient info from a subject key ID. The patch was
contributed by Javi Delgadillo <javi@netscape.com>. r=relyea, wtc.
Modified Files:
certdb/cert.h certdb/certdb.c certdb/certdb.h certdb/certv3.c
certdb/stanpcertdb.c nss/nss.def nss/nssinit.c
pk11wrap/pk11cert.c pk11wrap/pk11func.h pk11wrap/secmod.h
pki/pki3hack.c smime/cms.h smime/cmslocal.h smime/cmspubkey.c
smime/cmsrecinfo.c smime/cmssiginfo.c smime/cmst.h
smime/smime.def
git-svn-id: svn://10.0.0.236/trunk@135377 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:39:46 +00:00
dougt%netscape.com
d0c13e95b3
Allow caller to obtain cert. r=mstoltz, javi. sr=dveditz, b=179016
...
git-svn-id: svn://10.0.0.236/trunk@135266 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:26:43 +00:00
kaie%netscape.com
1467cc0fdc
b=182258 Give separate signature validity and sender address mismatch feedback
...
r=javi sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@135261 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:47:32 +00:00
relyea%netscape.com
10cf066de9
Increment the tmpbuf pointer to the correct index point
...
git-svn-id: svn://10.0.0.236/trunk@135255 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 19:02:13 +00:00
nicolson%netscape.com
a0a78775dd
Fix 180827: Update version strings for JSS 3.3.
...
git-svn-id: svn://10.0.0.236/trunk@135225 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 06:12:30 +00:00
wtc%netscape.com
aa731d6f0a
Bug 185074: open the files we just did a "chmod -w" on once to work around
...
a Mac OS X NFS bug. Subsequent opens will see the file is readonly with no
delay.
git-svn-id: svn://10.0.0.236/trunk@135214 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 02:06:34 +00:00
nelsonb%netscape.com
9f7cd0929a
Clean up command line options parsing and Usage message.
...
git-svn-id: svn://10.0.0.236/trunk@135210 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 01:25:45 +00:00
relyea%netscape.com
0ef77cf53b
Use correct sense of the timeout value.
...
git-svn-id: svn://10.0.0.236/trunk@135201 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:25:21 +00:00
nelsonb%netscape.com
d36cf9c052
Support SHA256, SHA384, and SHA512 hashes in NSS.
...
git-svn-id: svn://10.0.0.236/trunk@135163 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 06:05:45 +00:00
relyea%netscape.com
c2747050b5
Don't break solaris or linux (add the ';')
...
git-svn-id: svn://10.0.0.236/trunk@135137 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:56:49 +00:00
relyea%netscape.com
ab1e313edc
Export new command to pull for token change events.
...
git-svn-id: svn://10.0.0.236/trunk@135136 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:53:20 +00:00
relyea%netscape.com
927e518bfe
Program to test smartcard removal and insertion detection.
...
git-svn-id: svn://10.0.0.236/trunk@135135 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:44:53 +00:00
relyea%netscape.com
db9fdd7d91
Add token removal blocking function.
...
git-svn-id: svn://10.0.0.236/trunk@135134 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:43:24 +00:00
thayes%netscape.com
f99655d56d
Bug 184557: Allow usage specified on command line (-u) to be used to validate
...
certificates used for signing (-S option). Also add special handling for
nickname "NONE" in the -Y option. This specifies that no certificate and
encryption key preference should be included in the signature object.
git-svn-id: svn://10.0.0.236/trunk@135090 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 01:44:37 +00:00
wtc%netscape.com
b372052c6a
Bug 180294: moved the OpenVMS build from the POSIX subsystem to native
...
VMS (GNV). The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified files: OpenVMS.mk config.mk rules.mk nsinstall/nsinstall.c
git-svn-id: svn://10.0.0.236/trunk@135065 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 20:27:45 +00:00
relyea%netscape.com
835ba61f1e
Sigh, this is what was breaking the Linux builds... incorrect initializer.
...
git-svn-id: svn://10.0.0.236/trunk@135041 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 18:09:16 +00:00
relyea%netscape.com
e6e68328f4
Make SubjectAltEncode a public function. Fixes build breakage in Linux
...
git-svn-id: svn://10.0.0.236/trunk@135039 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:41:16 +00:00
relyea%netscape.com
79fe77be86
Add test cases for multiple email addresses in a single certificate.
...
git-svn-id: svn://10.0.0.236/trunk@135037 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:19:00 +00:00
relyea%netscape.com
224056f917
Add code to create multiple email addresses in a single cert.
...
git-svn-id: svn://10.0.0.236/trunk@135036 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:18:06 +00:00
relyea%netscape.com
dab92f15e2
Export the AltSubjectEncode function so our test programs can build certs
...
with multiple email addresses.
git-svn-id: svn://10.0.0.236/trunk@135035 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:15:15 +00:00
relyea%netscape.com
1d0c8ab8f4
Create profiles for all the email addresses in a certificate.
...
git-svn-id: svn://10.0.0.236/trunk@135034 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:14:17 +00:00
relyea%netscape.com
6d321f494d
Fix padding value.
...
git-svn-id: svn://10.0.0.236/trunk@134901 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 19:11:57 +00:00
nelsonb%netscape.com
5a0910167b
Expunge dead code.
...
git-svn-id: svn://10.0.0.236/trunk@134858 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:16:22 +00:00
nelsonb%netscape.com
24b5f2f335
Don't compile the .c files in lib/pki1 on the trunk. These files are used
...
only in Stan.
git-svn-id: svn://10.0.0.236/trunk@134857 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 22:15:36 +00:00
wtc%netscape.com
ff1e8de9dc
Bug 39494: added a check to prevent buffer overflow. r=mcgreer,nelsonb.
...
git-svn-id: svn://10.0.0.236/trunk@134817 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 23:41:49 +00:00
wtc%netscape.com
3fcc5b0e17
Fixed the build breakage of const unsigned char[] and unsigned char *
...
mismatch on the Mac (compiler warnings on other platforms) by adding
(unsigned char *) typecasts. r=relyea. (Bug 183350)
git-svn-id: svn://10.0.0.236/trunk@134737 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:28:56 +00:00
kaie%netscape.com
1e5d8406b1
b=182158 JavaScript error when pressing Ok in "Cert already exists" dialog - setWindowName is not defined
...
r=kaie sr=alecf
git-svn-id: svn://10.0.0.236/trunk@134691 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 15:27:27 +00:00
wtc%netscape.com
d67bf81692
Bug 181913: disable the makefile rule for .s for OS/2 so that .asm files
...
are used when there are same-named .s files in the same directory. The
patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
git-svn-id: svn://10.0.0.236/trunk@134636 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 22:57:21 +00:00
kaie%netscape.com
c95c71be0b
b=115294 Support S/Mime signing only configuration / relax certificate configuration requirements
...
r=javi sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@134572 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 18:31:03 +00:00
wtc%netscape.com
22041a7a31
Bug 181878: fixed two more bugs in the new code to support multiple email
...
addresses per certificate. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@134510 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 01:28:03 +00:00
wtc%netscape.com
a53eddc602
Bug 182086: on Mac OS X, ranlib needs to be rerun after static libraries
...
are moved.
git-svn-id: svn://10.0.0.236/trunk@134504 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 23:05:56 +00:00
relyea%netscape.com
4a2048f209
More review changes,
...
Fix incorrect return in pcertdb.c
git-svn-id: svn://10.0.0.236/trunk@134496 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 22:14:56 +00:00
relyea%netscape.com
cfd47f83ed
Incorporate some of Nelson's review changes.
...
Collapse all the profile data into an array for easier processing when printing out.
git-svn-id: svn://10.0.0.236/trunk@134479 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 21:03:18 +00:00
relyea%netscape.com
07edc88c17
Move mac build changes from 3.6 branch back to the trunk
...
git-svn-id: svn://10.0.0.236/trunk@134478 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 21:00:31 +00:00
wtc%netscape.com
b36655bf56
Bug 180228: moved CERT_CRLCacheRefreshIssuer from the NSS_3.6.1 section to
...
the NSS_3.7 section.
git-svn-id: svn://10.0.0.236/trunk@134467 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 19:21:55 +00:00
relyea%netscape.com
512e484870
Incorporate Terry's and Nelson's reviews.
...
git-svn-id: svn://10.0.0.236/trunk@134459 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 18:27:25 +00:00
nelsonb%netscape.com
78dee2f73b
Back out my last change.
...
git-svn-id: svn://10.0.0.236/trunk@134447 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 07:07:20 +00:00
nelsonb%netscape.com
ae3f5cf676
Eliminate bug due to uninitialized variable index. Eliminate leak.
...
Remove lots of warnings about signed/unsigned and assigning int to uchar.
git-svn-id: svn://10.0.0.236/trunk@134445 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 05:58:51 +00:00