mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 15:51:33 +00:00
fix for 115957, hash table overloads cause problem (certs were not being removed properly)
This commit is contained in:
parent
1bbec4c86f
commit
f33669a06f
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pkistore.c,v $ $Revision: 1.1 $ $Date: 2001/12/14 17:32:20 $ $Name: $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: pkistore.c,v $ $Revision: 1.2 $ $Date: 2001/12/19 20:27:21 $ $Name: $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef PKIM_H
|
||||
@ -288,7 +288,7 @@ remove_subject_entry
|
||||
/* Remove the cert from the subject hash */
|
||||
nssList_Remove(subjectList, cert);
|
||||
if (nssList_Count(subjectList) == 0) {
|
||||
nssHash_Remove(store->subject, subjectList);
|
||||
nssHash_Remove(store->subject, &cert->subject);
|
||||
nssList_Destroy(subjectList);
|
||||
/* XXX need to deref objects here in 4.0 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user