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 * pkix_pl_httpcertstore.c | 5 * pkix_pl_httpcertstore.c |
6 * | 6 * |
7 * HTTPCertStore Function Definitions | 7 * HTTPCertStore Function Definitions |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 CERT_NameTemplate }, | 32 CERT_NameTemplate }, |
33 { SEC_ASN1_INTEGER, | 33 { SEC_ASN1_INTEGER, |
34 offsetof(CERTIssuerAndSN,serialNumber) }, | 34 offsetof(CERTIssuerAndSN,serialNumber) }, |
35 { 0 } | 35 { 0 } |
36 }; | 36 }; |
37 | 37 |
38 const SEC_ASN1Template SECOID_AlgorithmIDTemplate[] = { | 38 const SEC_ASN1Template SECOID_AlgorithmIDTemplate[] = { |
39 { SEC_ASN1_SEQUENCE, | 39 { SEC_ASN1_SEQUENCE, |
40 0, NULL, sizeof(SECAlgorithmID) }, | 40 0, NULL, sizeof(SECAlgorithmID) }, |
41 { SEC_ASN1_OBJECT_ID, | 41 { SEC_ASN1_OBJECT_ID, |
42 » offsetof(SECAlgorithmID,algorithm), }, | 42 » offsetof(SECAlgorithmID,algorithm) }, |
43 { SEC_ASN1_OPTIONAL | SEC_ASN1_ANY, | 43 { SEC_ASN1_OPTIONAL | SEC_ASN1_ANY, |
44 » offsetof(SECAlgorithmID,parameters), }, | 44 » offsetof(SECAlgorithmID,parameters) }, |
45 { 0, } | 45 { 0 } |
46 }; */ | 46 }; */ |
47 | 47 |
48 /* --Private-HttpCertStoreContext-Object Functions----------------------- */ | 48 /* --Private-HttpCertStoreContext-Object Functions----------------------- */ |
49 | 49 |
50 /* | 50 /* |
51 * FUNCTION: pkix_pl_HttpCertStoreContext_Destroy | 51 * FUNCTION: pkix_pl_HttpCertStoreContext_Destroy |
52 * (see comments for PKIX_PL_DestructorCallback in pkix_pl_system.h) | 52 * (see comments for PKIX_PL_DestructorCallback in pkix_pl_system.h) |
53 */ | 53 */ |
54 static PKIX_Error * | 54 static PKIX_Error * |
55 pkix_pl_HttpCertStoreContext_Destroy( | 55 pkix_pl_HttpCertStoreContext_Destroy( |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1146 cleanup: | 1146 cleanup: |
1147 | 1147 |
1148 PKIX_DECREF(formatString); | 1148 PKIX_DECREF(formatString); |
1149 PKIX_DECREF(hostString); | 1149 PKIX_DECREF(hostString); |
1150 PKIX_DECREF(domainString); | 1150 PKIX_DECREF(domainString); |
1151 PKIX_DECREF(socket); | 1151 PKIX_DECREF(socket); |
1152 | 1152 |
1153 PKIX_RETURN(CERTSTORE); | 1153 PKIX_RETURN(CERTSTORE); |
1154 } | 1154 } |
1155 | 1155 |
OLD | NEW |