julien.pierre.bugs%sun.com
166d66e866
Fix for 217024 . Address Wan-Teh's concerns about naming and documentation. Also fix AIX build by removing extraneous comma.
...
git-svn-id: svn://10.0.0.236/trunk@175863 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-09 00:34:43 +00:00
julien.pierre.bugs%sun.com
1d6851fd77
Fix for bug 217024 . Add a function to compare validity times. r=relyea
...
git-svn-id: svn://10.0.0.236/trunk@175831 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 07:06:56 +00:00
wtchang%redhat.com
b528d8f9e4
Bugzilla Bug 287057: fixed memory leaks in callers of cert_FindExtension.
...
pass NULL as the SECItem* argument if we only want to know if the extension
exists but don't need its value. r=jpierre,nelsonb.
Modified Files:
certdb/certdb.c certdb/genname.c certhigh/certhigh.c
certhigh/certhtml.c certhigh/crlv2.c certhigh/ocsp.c
git-svn-id: svn://10.0.0.236/trunk@175420 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 20:53:57 +00:00
julien.pierre.bugs%sun.com
233358aeec
Fix for 290121. Replace PRIntervalTime with PRTime when checking for the need to query the token for CRLs. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@172359 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-17 03:17:07 +00:00
julien.pierre.bugs%sun.com
8df034a65c
Fix for 290121 - always fill the CRL cache on first entry, to fix AIX problem. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@172084 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-13 18:08:48 +00:00
alexei.volkov.bugs%sun.com
775e2d0de9
Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+
...
git-svn-id: svn://10.0.0.236/trunk@172015 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 02:24:17 +00:00
julien.pierre.bugs%sun.com
7ab8e0190f
Remove unused variable
...
git-svn-id: svn://10.0.0.236/trunk@171493 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 05:17:27 +00:00
neil.williams%sun.com
8395d7fafb
r=nelson Bug=263779
...
git-svn-id: svn://10.0.0.236/trunk@170477 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 23:02:48 +00:00
julien.pierre.bugs%sun.com
88d1026757
Fix for 285233 - need extra symbols to be exported to support CRL generation. Ch
...
ecking in for alexei volkov . r=nelson
git-svn-id: svn://10.0.0.236/trunk@170373 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-08 07:08:48 +00:00
nelsonb%netscape.com
784913e894
Export CERT_SequenceOfCertExtensionTemplate on Windows.
...
Fix type of "attributes" member of struct CERTCertificateRequestStr.
Bug 284200. r=nelson.williams & wtchang.
git-svn-id: svn://10.0.0.236/trunk@170202 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 08:03:04 +00:00
julien.pierre.bugs%sun.com
a906b21c0a
Fix crash in CRL sorting callbacks from qsort.
...
git-svn-id: svn://10.0.0.236/trunk@170118 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:07:26 +00:00
julien.pierre.bugs%sun.com
dd31c2d763
Move static functions out of certi.h header file and into crl.c source file, to remove warnings with gcc
...
git-svn-id: svn://10.0.0.236/trunk@169803 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 00:54:29 +00:00
julien.pierre.bugs%sun.com
0513932046
Fix compiler warnings under Linux
...
git-svn-id: svn://10.0.0.236/trunk@169703 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:22:59 +00:00
julien.pierre.bugs%sun.com
37edfe8363
Add comment for bug 243585
...
git-svn-id: svn://10.0.0.236/trunk@169702 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:22:23 +00:00
julien.pierre.bugs%sun.com
926b40d5fa
Fix compilation on AIX
...
git-svn-id: svn://10.0.0.236/trunk@169209 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 19:26:28 +00:00
julien.pierre.bugs%sun.com
761d5cc7c7
Fix for 243585 - add the ability to use CRL objects from RAM . r=nelson, neil.williams
...
git-svn-id: svn://10.0.0.236/trunk@169200 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 06:26:43 +00:00
nelsonb%netscape.com
45ed99ddc6
Workaround the occasional SSL server cert that has the step-up OID but
...
not the SSL server OID. Patch by Aaron Spangler <aaron@spangler.ods.org>
Bug 231775. r=nelson
git-svn-id: svn://10.0.0.236/trunk@166174 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 22:08:14 +00:00
nelsonb%netscape.com
69c8d2d723
When attempting to find an SMIME profile for a given email address,
...
firt ensure that the email address is not NULL and not empty.
Bugzilla bug 263596. r=wan-teh.
Modified Files: lib/certdb/stanpcertdb.c lib/pk11wrap/pk11nobj.c
git-svn-id: svn://10.0.0.236/trunk@166165 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 21:34:15 +00:00
wchang0222%aol.com
53fa50ce06
Bugzilla bug 248435: declare the exported functions CERT_DecodeGeneralName
...
and CERT_EncodeGeneralName in the public header cert.h. r=jpierre.
Modified Files: cert.h genname.h xconst.c
git-svn-id: svn://10.0.0.236/trunk@165153 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 06:13:32 +00:00
relyea%netscape.com
cb8fbb0164
Bug 250687
...
NSS Crashes or leaks Cert references if bad certs are passed up by PKCS #11 modules.
r=nelson
sr=ian
git-svn-id: svn://10.0.0.236/trunk@159599 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 18:18:05 +00:00
wchang0222%aol.com
b4c8df8df4
Bugzilla bug 249284: removed a duplicate declaration of
...
CERT_DecodeDERCertificate. r=nelsonb. Thanks to Chris Newman
of Sun for the bug report.
git-svn-id: svn://10.0.0.236/trunk@158814 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:48:53 +00:00
nelsonb%netscape.com
44c47c0478
Treat non-repudiation-only certs as valid signature certs.
...
Bug 240456. r=wtc, sr=relyea.
git-svn-id: svn://10.0.0.236/trunk@158624 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 00:26:00 +00:00
nelsonb%netscape.com
b463fcd106
Correct NSS to use the most specific, not most general CN attribute in
...
a cert subject name. Bug 197964. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@158623 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 00:21:42 +00:00
nelsonb%netscape.com
464c8d0e9b
Don't crash when CERT_DestroyCertificate is called with a cert with a
...
null arena pointer. Bug 245943. r=julien
git-svn-id: svn://10.0.0.236/trunk@157647 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 07:47:51 +00:00
ian.mcgreer%sun.com
f7fd7e85b4
bug 180268, reimplement ssl step-up for builtins
...
git-svn-id: svn://10.0.0.236/trunk@156475 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 20:08:38 +00:00
jpierre%netscape.com
5e7e772f3a
Fix for 240361 - crash in CERT_CheckValidTimes
...
git-svn-id: svn://10.0.0.236/trunk@156219 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 02:43:10 +00:00
jpierre%netscape.com
1d0c147cec
Fix for 202979 . Resolve binary compatibility issue for CERT_ImportCerts . r=wtc, jpierre
...
git-svn-id: svn://10.0.0.236/trunk@155956 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 01:15:39 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
nelsonb%netscape.com
f0478237c1
Remove code that attempted to compare simple host names in URLs with
...
FQDNs in certificate host names. This was insecure. Bug 234058. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@154607 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-08 00:17:46 +00:00
wchang0222%aol.com
d658ec460b
Bugzilla bug 238565: made the comment match the code. r=nelsonb.
...
git-svn-id: svn://10.0.0.236/trunk@154329 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 01:51:25 +00:00
nelsonb%netscape.com
675d519e51
Correct the parsing of certain forms of GeneralName. Bug 233586.
...
r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@154277 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-26 01:15:33 +00:00
nelsonb%netscape.com
96643781b8
Fix a regression introduced by rev 1.19, after NSS 3.9 was released.
...
r=julien.pierre. bugscape 56484.
git-svn-id: svn://10.0.0.236/trunk@154181 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 03:30:34 +00:00
nelsonb%netscape.com
aa4efc8531
Detect NULL arguments to CERT_DecodeTrustString instead of crashing.
...
Bug 235617. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@153252 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-26 00:05:29 +00:00
jpierre%netscape.com
908536cb6c
Fix for bug 233605 . Check CRL entry extensions after partial decoding. Also add some new CRL decoding errors. r=nelsonb
...
git-svn-id: svn://10.0.0.236/trunk@152653 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:05:18 +00:00
jpierre%netscape.com
1f99d2576b
Fix for 233118 . additional check for CRL signing usage. r=nelsonb
...
git-svn-id: svn://10.0.0.236/trunk@152649 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 05:25:01 +00:00
wchang0222%aol.com
8f1f979564
Bugzilla bug 225808: 1. Use a 32-bit integer type for cert->nsCertType so
...
that it can be safely passed to PR_AtomicSet on all platforms. Note that
we still use an unsigned type to avoid introducing signed/unsigned compiler
warnings. 2. Added a (PRInt32 *) cast to eliminate a pre-existing
signed/unsigned warning. r=nelsonb.
Modified Files: certdb.c certt.h
git-svn-id: svn://10.0.0.236/trunk@152447 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 01:41:15 +00:00
nelsonb%netscape.com
0bd0446c75
Fix numerous bugs in CERT_FindCertByKeyID. Bug 233019. r=jpierre
...
git-svn-id: svn://10.0.0.236/trunk@152284 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 08:54:06 +00:00
nelsonb%netscape.com
655c12b01b
Honor key usage extensions, whether they're critical or not.
...
Bug 232738. r=jpiperre.
git-svn-id: svn://10.0.0.236/trunk@152209 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 07:10:04 +00:00
nelsonb%netscape.com
a9d9ed95da
Export cert functions that decode extensions and traverse decoded
...
extensions. Bug 231881. r= relyea, wtc.
git-svn-id: svn://10.0.0.236/trunk@151989 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:23:45 +00:00
wchang0222%aol.com
f2ad2c3faa
Bugzilla bug 232380: deleted CERT_FindExpiredIssuer, which is dead code.
...
In cert_VerifyCertChain, make sure that subjectCert and issuerCert never
point to the same cert to prevent from destroying that cert twice.
r=jpierre,nelsonb.
Modified Files: certdb/cert.h certhigh/certvfy.c
git-svn-id: svn://10.0.0.236/trunk@151977 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:51:10 +00:00
nelsonb%netscape.com
9c82ab27aa
Fix crashes that occur when optional policyQualifiers are not present.
...
Bug 230951. r=kinmoz.
git-svn-id: svn://10.0.0.236/trunk@151779 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 22:50:01 +00:00
nelsonb%netscape.com
fd3ceea619
When a name attribute's value exceeds the maximum allowed length, display
...
a truncated version of it, followed by ellipsis. Bug 220855. r=wtc
git-svn-id: svn://10.0.0.236/trunk@151723 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 23:45:30 +00:00
nelsonb%netscape.com
053cb3921e
Correct NSS's key usage tests for certs with non-RSA public keys.
...
Bug 221638. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@151711 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 22:04:54 +00:00
nelsonb%netscape.com
591abc4303
Detect duplicate issuer name and serial number between two temp certs.
...
Bug 230996. r=ian, relyea.
git-svn-id: svn://10.0.0.236/trunk@151676 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 02:36:53 +00:00
nelsonb%netscape.com
b713707ff3
Fix name constraints code to pass NIST PKITS test 38. r=wtc. Bug 231223.
...
git-svn-id: svn://10.0.0.236/trunk@151675 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 02:33:41 +00:00
nelsonb%netscape.com
a4e59c4ba6
Detect absent isCA flags in basic constraints. Detect and reject negative
...
or too large positive path length constraints in basic constraints.
Bug 221644. r=jpierre.
git-svn-id: svn://10.0.0.236/trunk@151433 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 21:33:16 +00:00
nelsonb%netscape.com
fc720b461d
Fix template for Cert policy extensions. Bug 230951, r=jpierre
...
git-svn-id: svn://10.0.0.236/trunk@151407 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 05:36:08 +00:00
nelsonb%netscape.com
4a497ce6d8
Fix NSS parsing of Issuer Unique ID and Subject Unique ID fields in
...
certificate. Bug 216116. r=jpierre
git-svn-id: svn://10.0.0.236/trunk@151404 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 02:11:44 +00:00
wchang0222%aol.com
e422c3c531
Minor change after review of previous checkin. Bug 53133.
...
git-svn-id: svn://10.0.0.236/trunk@151391 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 22:34:26 +00:00
jgmyers%speakeasy.net
7c4f0bc6fa
Convert T61String-labeled ISO-8859-1 to UTF-8: bug 53133 r=nelsonb a=wtc
...
git-svn-id: svn://10.0.0.236/trunk@151360 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:23:14 +00:00