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 * This file manages Netscape specific PKCS #11 objects (CRLs, Trust objects, | 5 * This file manages Netscape specific PKCS #11 objects (CRLs, Trust objects, |
6 * etc). | 6 * etc). |
7 */ | 7 */ |
8 | 8 |
9 #include "secport.h" | 9 #include "secport.h" |
10 #include "seccomon.h" | 10 #include "seccomon.h" |
11 #include "secmod.h" | 11 #include "secmod.h" |
12 #include "secmodi.h" | 12 #include "secmodi.h" |
13 #include "secmodti.h" | 13 #include "secmodti.h" |
14 #include "pkcs11.h" | 14 #include "pkcs11.h" |
15 #include "pk11func.h" | 15 #include "pk11func.h" |
16 #include "cert.h" | 16 #include "cert.h" |
17 #include "certi.h" | 17 #include "certi.h" |
18 #include "secitem.h" | 18 #include "secitem.h" |
19 #include "sechash.h" | 19 #include "sechash.h" |
20 #include "secoid.h" | 20 #include "secoid.h" |
21 | 21 |
22 #include "certdb.h" | 22 #include "certdb.h" |
23 #include "secerr.h" | 23 #include "secerr.h" |
24 #include "sslerr.h" | |
25 | 24 |
26 #include "pki3hack.h" | 25 #include "pki3hack.h" |
27 #include "dev3hack.h" | 26 #include "dev3hack.h" |
28 | 27 |
29 #include "devm.h" | 28 #include "devm.h" |
30 #include "pki.h" | 29 #include "pki.h" |
31 #include "pkim.h" | 30 #include "pkim.h" |
32 | 31 |
33 extern const NSSError NSS_ERROR_NOT_FOUND; | 32 extern const NSSError NSS_ERROR_NOT_FOUND; |
34 | 33 |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 } while (0); | 775 } while (0); |
777 | 776 |
778 if (crl == NULL) { | 777 if (crl == NULL) { |
779 SEC_DestroyCrl (newCrl); | 778 SEC_DestroyCrl (newCrl); |
780 } | 779 } |
781 if (caCert) { | 780 if (caCert) { |
782 CERT_DestroyCertificate(caCert); | 781 CERT_DestroyCertificate(caCert); |
783 } | 782 } |
784 return (crl); | 783 return (crl); |
785 } | 784 } |
OLD | NEW |