OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 #ifndef PKIM_H | 5 #ifndef PKIM_H |
10 #include "pkim.h" | 6 #include "pkim.h" |
11 #endif /* PKIM_H */ | 7 #endif /* PKIM_H */ |
12 | 8 |
13 #ifndef PKIT_H | 9 #ifndef PKIT_H |
14 #include "pkit.h" | 10 #include "pkit.h" |
15 #endif /* PKIT_H */ | 11 #endif /* PKIT_H */ |
16 | 12 |
17 #ifndef NSSPKI_H | 13 #ifndef NSSPKI_H |
18 #include "nsspki.h" | 14 #include "nsspki.h" |
(...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 nssTrustDomain_DumpCacheInfo ( | 1137 nssTrustDomain_DumpCacheInfo ( |
1142 NSSTrustDomain *td, | 1138 NSSTrustDomain *td, |
1143 void (* cert_dump_iter)(const void *, void *, void *), | 1139 void (* cert_dump_iter)(const void *, void *, void *), |
1144 void *arg | 1140 void *arg |
1145 ) | 1141 ) |
1146 { | 1142 { |
1147 PZ_Lock(td->cache->lock); | 1143 PZ_Lock(td->cache->lock); |
1148 nssHash_Iterate(td->cache->issuerAndSN, cert_dump_iter, arg); | 1144 nssHash_Iterate(td->cache->issuerAndSN, cert_dump_iter, arg); |
1149 PZ_Unlock(td->cache->lock); | 1145 PZ_Unlock(td->cache->lock); |
1150 } | 1146 } |
OLD | NEW |