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 /* | 5 /* |
6 * Moved from secpkcs7.c | 6 * Moved from secpkcs7.c |
7 * | |
8 * $Id$ | |
9 */ | 7 */ |
10 | 8 |
11 #include "cert.h" | 9 #include "cert.h" |
12 #include "certi.h" | 10 #include "certi.h" |
13 #include "secder.h" | 11 #include "secder.h" |
14 #include "secasn1.h" | 12 #include "secasn1.h" |
15 #include "secoid.h" | 13 #include "secoid.h" |
16 #include "certdb.h" | 14 #include "certdb.h" |
17 #include "certxutl.h" | 15 #include "certxutl.h" |
18 #include "prtime.h" | 16 #include "prtime.h" |
(...skipping 3345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3364 to CERT_CacheCRL previously. That API takes a SECItem*, thus, we | 3362 to CERT_CacheCRL previously. That API takes a SECItem*, thus, we |
3365 just do a pointer comparison here. | 3363 just do a pointer comparison here. |
3366 */ | 3364 */ |
3367 if (b->crl->derCrl == a->crl->derCrl) | 3365 if (b->crl->derCrl == a->crl->derCrl) |
3368 { | 3366 { |
3369 *isDupe = PR_TRUE; | 3367 *isDupe = PR_TRUE; |
3370 } | 3368 } |
3371 } | 3369 } |
3372 return SECSuccess; | 3370 return SECSuccess; |
3373 } | 3371 } |
OLD | NEW |