Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_pk11certstore.c

Issue 16132005: Allow NSS to be built with NO_NSPR_10_SUPPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_pk11certstore.c 5 * pkix_pl_pk11certstore.c
6 * 6 *
7 * PKCS11CertStore Function Definitions 7 * PKCS11CertStore Function Definitions
8 * 8 *
9 */ 9 */
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 PRTime prtime = 0; 150 PRTime prtime = 0;
151 PKIX_PL_X500Name *subjectName = NULL; 151 PKIX_PL_X500Name *subjectName = NULL;
152 PKIX_PL_Date *certValid = NULL; 152 PKIX_PL_Date *certValid = NULL;
153 PKIX_List *certList = NULL; 153 PKIX_List *certList = NULL;
154 PKIX_PL_Cert *cert = NULL; 154 PKIX_PL_Cert *cert = NULL;
155 CERTCertList *pk11CertList = NULL; 155 CERTCertList *pk11CertList = NULL;
156 CERTCertListNode *node = NULL; 156 CERTCertListNode *node = NULL;
157 CERTCertificate *nssCert = NULL; 157 CERTCertificate *nssCert = NULL;
158 CERTCertDBHandle *dbHandle = NULL; 158 CERTCertDBHandle *dbHandle = NULL;
159 159
160 PRArenaPool *arena = NULL; 160 PLArenaPool *arena = NULL;
161 SECItem *nameItem = NULL; 161 SECItem *nameItem = NULL;
162 void *wincx = NULL; 162 void *wincx = NULL;
163 163
164 PKIX_ENTER(CERTSTORE, "pkix_pl_Pk11CertStore_CertQuery"); 164 PKIX_ENTER(CERTSTORE, "pkix_pl_Pk11CertStore_CertQuery");
165 PKIX_NULLCHECK_TWO(params, pSelected); 165 PKIX_NULLCHECK_TWO(params, pSelected);
166 166
167 /* avoid multiple calls to retrieve a constant */ 167 /* avoid multiple calls to retrieve a constant */
168 PKIX_PL_NSSCALLRV(CERTSTORE, dbHandle, CERT_GetDefaultCertDB, ()); 168 PKIX_PL_NSSCALLRV(CERTSTORE, dbHandle, CERT_GetDefaultCertDB, ());
169 169
170 /* 170 /*
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
1040 &certStore, 1040 &certStore,
1041 plContext), 1041 plContext),
1042 PKIX_CERTSTORECREATEFAILED); 1042 PKIX_CERTSTORECREATEFAILED);
1043 1043
1044 *pCertStore = certStore; 1044 *pCertStore = certStore;
1045 1045
1046 cleanup: 1046 cleanup:
1047 1047
1048 PKIX_RETURN(CERTSTORE); 1048 PKIX_RETURN(CERTSTORE);
1049 } 1049 }
OLDNEW
« no previous file with comments | « nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_nsscontext.c ('k') | nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_crldp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698