Commit Graph

2888 Commits

Author SHA1 Message Date
relyea%netscape.com
fb4ab3fab4 Fix tinderbox breakage
git-svn-id: svn://10.0.0.236/trunk@147900 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-12 22:55:09 +00:00
nelsonb%netscape.com
bcedd95a62 Correctly handle a NULL moduleSpecList. Bug 220217.
git-svn-id: svn://10.0.0.236/trunk@147867 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 01:49:24 +00:00
nelsonb%netscape.com
458f866ce8 This file has been dead code since NSS 3.4 released, if not sooner.
git-svn-id: svn://10.0.0.236/trunk@147866 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 01:10:51 +00:00
jpierre%netscape.com
e8b5b71f66 Fix for bug 221743 - incorrect certificate usage macro
git-svn-id: svn://10.0.0.236/trunk@147861 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 23:22:31 +00:00
relyea%netscape.com
9f2bc8d2a4 Bug 191467
Multipart signing and verifying broken for several mechanisms in softoken
Reporter:   	Andreas.Sterbenz@sun.com (Andreas Sterbenz)
sr=nelsonb


git-svn-id: svn://10.0.0.236/trunk@147842 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:32:26 +00:00
relyea%netscape.com
291f5c8248 Bug 203866
Make unloaded modules visible for administrative purposes.
sr=wtc r=nelson


git-svn-id: svn://10.0.0.236/trunk@147841 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:29:43 +00:00
relyea%netscape.com
ae7ce661c1 Bug 203866. Make unloaded modules visible for administrative purposes.
sr=wtc r=nelson


git-svn-id: svn://10.0.0.236/trunk@147840 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:26:23 +00:00
relyea%netscape.com
c8b177b43d fix bug 203450
jarevil.c:345: warning: implicit declaration of function \
  `__CERT_AddTempCertToPerm'

Obviously missing a declaration somewhere.

r=jpierr, wtc


git-svn-id: svn://10.0.0.236/trunk@147817 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:17:04 +00:00
jpierre%netscape.com
4012fce7ab Fix for bug 55898 - print name of certificate causing failure in certutil . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147725 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 01:00:37 +00:00
nelsonb%netscape.com
14f2683ef1 Eliminate one of several redundant OID table lookups. Bug 207033.
git-svn-id: svn://10.0.0.236/trunk@147692 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 17:19:55 +00:00
nelsonb%netscape.com
9911b56b4d Eliminate unnecessary copying of CA names in HandleCertRequest.
Bug 204686.


git-svn-id: svn://10.0.0.236/trunk@147660 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 02:24:01 +00:00
nelsonb%netscape.com
51e2c1a732 The "valid CA" trust flag now overrides other CA cert checks.
Works for SSL client as well as other usages.  Bug 200225


git-svn-id: svn://10.0.0.236/trunk@147659 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 02:17:56 +00:00
nelsonb%netscape.com
0461e4f3fc Export new function PK11_ExportEncryptedPrivKeyInfo. Bug 207033.
git-svn-id: svn://10.0.0.236/trunk@147657 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:29:32 +00:00
nelsonb%netscape.com
39028f08d2 Create new function SECKEYEncryptedPrivateKeyInfo which is just like
SECKEYEncryptedPrivateKeyInfo except that it identifies the private
key by a private key pointer, rather than by a certificate. Bug 207033.


git-svn-id: svn://10.0.0.236/trunk@147656 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 01:26:38 +00:00
nelsonb%netscape.com
a85bd7aafb Make tstclnt work with IPv6 addresses. Bug 161610.
git-svn-id: svn://10.0.0.236/trunk@147646 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 23:50:11 +00:00
nelsonb%netscape.com
1ac2b80786 Check for presence of secmod.db file prior to acting on it, for all
cases except "multiaccess:".  Bug 220217. r=relyea


git-svn-id: svn://10.0.0.236/trunk@147645 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 23:33:03 +00:00
nelsonb%netscape.com
d544fa46d4 Detect Zero length certs and zero length CA names. Bug 204686.
Also, eliminate unnecessary copying of incoming certs.


git-svn-id: svn://10.0.0.236/trunk@147524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 02:01:18 +00:00
wtc%netscape.com
ffe02cc1db Bug 220963: need to handle the possibility that symKey may be NULL before
dereferencing it.


git-svn-id: svn://10.0.0.236/trunk@147502 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 23:01:46 +00:00
jpierre%netscape.com
45ea31cac4 Fix for bug 141882 - convert email query keys to lowercase when searching . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147450 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 02:33:40 +00:00
jpierre%netscape.com
7bcb65500d Fix for bug 94413 - OCSP needs more fine tuned error messages. r=wtc
git-svn-id: svn://10.0.0.236/trunk@147449 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 01:18:55 +00:00
nelsonb%netscape.com
e350065f77 Move a brace so vi will find the beginning of the function.
git-svn-id: svn://10.0.0.236/trunk@147353 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 01:45:35 +00:00
jpierre%netscape.com
607c61e1f0 Fix for bug 219539 - support GeneralizedTime in NSS tools
git-svn-id: svn://10.0.0.236/trunk@147352 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 00:01:45 +00:00
jpierre%netscape.com
3b8812e241 Fix for bug 219539 - support GeneralizedTime in NSS tools
git-svn-id: svn://10.0.0.236/trunk@147323 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 06:18:40 +00:00
nelsonb%netscape.com
e45d71ac34 Don't use windowed exponentiation for small public exponents.
Speeds up public key operations.  Path contributed by
    Sheueling Chang Shantz <sheueling.chang@sun.com>,
    Stephen Fung <stephen.fung@sun.com>, and
    Douglas Stebila <douglas@stebila.ca> of Sun Laboratories.


git-svn-id: svn://10.0.0.236/trunk@147320 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 02:15:12 +00:00
nelsonb%netscape.com
8fc7503160 Correct an inaccurate log message.
git-svn-id: svn://10.0.0.236/trunk@147310 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 21:40:02 +00:00
jpierre%netscape.com
1385096cc0 Fix typo
git-svn-id: svn://10.0.0.236/trunk@147271 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 00:25:06 +00:00
nelsonb%netscape.com
9ae20d64bf Fix usage message to list all commands. Also, fix a few lines of
code that did not follow the file's convention for indentation.
Bug 203870.


git-svn-id: svn://10.0.0.236/trunk@147264 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 21:49:49 +00:00
nelsonb%netscape.com
a764068a58 Fix bug 204549. Properly handle memory allocation failures.
git-svn-id: svn://10.0.0.236/trunk@147193 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 20:47:43 +00:00
wtc%netscape.com
e8dd7063dd Bugzilla bug 204549: find_objects_by_template was not setting *statusOpt
before one return statement.  r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@147192 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 20:34:15 +00:00
nelsonb%netscape.com
a25f55c7c5 Correctly compute certificate fingerprints. Bug 220016.
git-svn-id: svn://10.0.0.236/trunk@147137 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 02:05:47 +00:00
jpierre%netscape.com
c124a4adcb Fix for 215182 - certutil prints incorrect nickname. r=wtc
git-svn-id: svn://10.0.0.236/trunk@147135 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 00:10:54 +00:00
wtc%netscape.com
4563ab3d0b Bugzilla bug 219713: fixed build bustage on all Unix platforms. We need
to export CERT_TimeChoiceTemplate as data for Unix.


git-svn-id: svn://10.0.0.236/trunk@147062 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 18:00:48 +00:00
jpierre%netscape.com
8144e86b4b Fix for 219082 - support GeneralizedTime in PKCS#7 signatures. r=nelsonb, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@147047 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 04:16:19 +00:00
jpierre%netscape.com
49725f4ef3 Fix for 219524 - support GeneralizedTime in S/MIME v3 signatures. r=wtc, sr=nelsonb
git-svn-id: svn://10.0.0.236/trunk@147046 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 04:14:50 +00:00
jpierre%netscape.com
e147b65161 Fix for bug 143334 : add support for GeneralizedTime in certificates and CRLs. r=wtc,nelsonb
git-svn-id: svn://10.0.0.236/trunk@147045 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-19 04:08:51 +00:00
jpierre%netscape.com
0561999feb Fix for 215214 - make certutil show all instances of certs . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147013 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 02:00:32 +00:00
wtc%netscape.com
cc116b679f The isOnList function is now unused.
git-svn-id: svn://10.0.0.236/trunk@147010 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 01:28:52 +00:00
jpierre%netscape.com
b3364b5298 Fix for bug 215186 - add missing options to PK11_ListCerts . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147007 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 00:22:18 +00:00
jpierre%netscape.com
298ee96e94 Add comment in the header for PK11_FindSlotsByAliases
git-svn-id: svn://10.0.0.236/trunk@146821 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-12 22:11:31 +00:00
wtc%netscape.com
9dd174c6d9 Bugzilla bug 215152: removed redundant pointer tests. Use
SEC_ERROR_LIBRARY_FAILURE for NSS internal errors.


git-svn-id: svn://10.0.0.236/trunk@146819 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-12 20:01:56 +00:00
wtc%netscape.com
77b52a6e30 Bugzilla bug 217247: improved the memory leak fix for the appData nicknames
returned by PK11_ListCerts.  Instead of allocating them from the heap first
and copying to the arena, allocate them from the arena directly.  r=jpierre
Modified Files: certhigh.c pk11cert.c pki3hack.h pki3hack.c


git-svn-id: svn://10.0.0.236/trunk@146817 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-12 19:38:04 +00:00
wtc%netscape.com
c6768f3bcf Bugzilla bug 214535: fixed a recursive dead lock on cache->lock. We must
not call nssSlot_IsTokenPresent while cache->lock is locked because
that function may call nssToken_Remove, which locks cache->lock.  r=mcgreer


git-svn-id: svn://10.0.0.236/trunk@146816 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-12 19:17:15 +00:00
wtc%netscape.com
a09f11c8a2 Bugzilla bug 208971: remove obsolete Mac CFM build files from NSS.
git-svn-id: svn://10.0.0.236/trunk@146687 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 00:04:38 +00:00
wtc%netscape.com
a057b91699 Bugzilla bug 208971: removed obsolete Mac CFM build files from NSS.
git-svn-id: svn://10.0.0.236/trunk@146686 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 00:01:07 +00:00
jpierre%netscape.com
659fda392b Fix for 215152 - better error handling
git-svn-id: svn://10.0.0.236/trunk@146667 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-10 01:33:25 +00:00
jpierre%netscape.com
59ce06036c Fix for bug 215152 . Improve error handling in PK11_FindSlotsByAliases
git-svn-id: svn://10.0.0.236/trunk@146666 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-10 01:31:54 +00:00
nelsonb%netscape.com
4bf96c876a Further enhance the verbose debugging command line option in tstclnt
for the case where client auth is requested by the server.  It will
now report the name of the cert sent to the server, or "send no cert".


git-svn-id: svn://10.0.0.236/trunk@146660 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-09 20:22:54 +00:00
jpierre%netscape.com
0ec89fd1ed Prevent crash if certlist is NULL
git-svn-id: svn://10.0.0.236/trunk@146643 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-09 00:54:20 +00:00
jpierre%netscape.com
01e91272d3 Fix bug 214307 - add certutil batch mode . r=wtc
git-svn-id: svn://10.0.0.236/trunk@146640 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 23:30:29 +00:00
jpierre%netscape.com
f68c317b43 Add PORT_Strpbrk macro
git-svn-id: svn://10.0.0.236/trunk@146639 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 23:29:14 +00:00