relyea%netscape.com
156fb9e6dc
Cache whether there are no CRL's and Trust objects on removable HW tokens
...
git-svn-id: svn://10.0.0.236/trunk@116101 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 23:21:39 +00:00
ian.mcgreer%sun.com
8e15d46893
bug 129298, handle different nicknames across tokens
...
r=relyea/a=wtc
git-svn-id: svn://10.0.0.236/trunk@116093 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:08:00 +00:00
ian.mcgreer%sun.com
c6c1bc65dc
bug 125808, update cert token instances when caching smart card certs that are already cached
...
git-svn-id: svn://10.0.0.236/trunk@115724 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 17:13:54 +00:00
relyea%netscape.com
ee5c92c39f
Fix missing certs from the listing of all the certs in tokens with large cert caches (larger than 32).
...
git-svn-id: svn://10.0.0.236/trunk@114603 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 17:37:58 +00:00
ian.mcgreer%sun.com
025e636383
bug 125165, don't crash when the softoken fails to return attributes for a cert object
...
git-svn-id: svn://10.0.0.236/trunk@114429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:09:15 +00:00
ian.mcgreer%sun.com
6bdc28b0d8
place where iterator was not freed
...
git-svn-id: svn://10.0.0.236/trunk@113721 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 22:32:38 +00:00
ian.mcgreer%sun.com
126fdb9cd7
bug 121628, persistent cache of hardware token certs
...
git-svn-id: svn://10.0.0.236/trunk@113428 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 17:25:15 +00:00
ian.mcgreer%sun.com
6cebd8d49a
* keep stan in sync with both addition and removal of modules
...
* clean up compatibilty issues with PKCS#11 serial numbers. Need to search both encoded and decoded values, while making sure stan code only deals with DER value
git-svn-id: svn://10.0.0.236/trunk@112584 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 17:00:39 +00:00
relyea%netscape.com
f29e33a844
Fix label stuff.
...
git-svn-id: svn://10.0.0.236/trunk@112556 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 01:20:32 +00:00
relyea%netscape.com
ca3b68231a
Increment length on LABEL, not on CLASS to catch the added NULL case.
...
git-svn-id: svn://10.0.0.236/trunk@112417 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 03:35:18 +00:00
ian.mcgreer%sun.com
3272fa4c5c
several memory-related fixes
...
- correct reference counting when combining certs taken from cache and obtained new
- cache keys need to be alloc'ed, for the case when one cert is used to create the cache entry, another (same subject/nick/email) is added, then the first is removed and freed
git-svn-id: svn://10.0.0.236/trunk@111728 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 21:09:21 +00:00
ian.mcgreer%sun.com
93942f465e
memory leak fixes
...
git-svn-id: svn://10.0.0.236/trunk@111574 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 15:37:42 +00:00
ian.mcgreer%sun.com
dc6c6834e3
PSM fixes
...
* implement CERT_AddTempCertToPerm in 3.4
* update object instance lists when needed
* correctly check and allocate trust when changing it
git-svn-id: svn://10.0.0.236/trunk@111495 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 16:45:26 +00:00
ian.mcgreer%sun.com
f85961a3de
move handling of certificate reference counting into Stan. NSS 3.4 needs to maintain persistent references of both temp and perm certs in order to replicate the old temp database.
...
git-svn-id: svn://10.0.0.236/trunk@111308 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 20:09:30 +00:00
ian.mcgreer%sun.com
56cc1d1af6
some checks that were overlooked
...
git-svn-id: svn://10.0.0.236/trunk@110925 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 23:17:58 +00:00
nelsonb%netscape.com
f8baf98f49
Check some pointers for NULL before dereferencing them.
...
git-svn-id: svn://10.0.0.236/trunk@110313 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 23:47:18 +00:00
ian.mcgreer%sun.com
331318a796
first step towards separating token and session object searches as performance enhancement. Searches are still over both types until local cert and trust stores for crypto contexts are implemented.
...
git-svn-id: svn://10.0.0.236/trunk@110278 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 20:28:38 +00:00
relyea%netscape.com
dd1d27c432
Clean up compilier warnings on Solaris and Linux, most particularly:
...
1) Implicit declaration of function.
2) Possibly unitialized variables.
These warnings have indicated some real problems in the code, so many changes
are not just to silence the warnings, but to fix the problems. Others were
inocuous, but the warnings were silenced to reduce the noise.
git-svn-id: svn://10.0.0.236/trunk@109938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:36:25 +00:00
ian.mcgreer%sun.com
1eea1add0d
get modification of trust on builtins certs to work by storing the modified trust on the softoken. implement merging of multiple trust instances.
...
git-svn-id: svn://10.0.0.236/trunk@109899 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 23:43:14 +00:00
ian.mcgreer%sun.com
8fa91e0b3c
patches to get s/mime dual key certs working, bug 113741
...
git-svn-id: svn://10.0.0.236/trunk@109847 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 18:21:38 +00:00
ian.mcgreer%sun.com
233b7897cf
land changes for handling temporary and cached certs in 3.4
...
* separate trust object from cert object
* move handling of cryptoki objects into libdev
* implement digest in libdev (for trust object indexing)
* fixes in cache implementation; connect cache to 3.4 certs
* implement CERT_NewTempCertificate via crypto context
git-svn-id: svn://10.0.0.236/trunk@109138 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 16:23:51 +00:00