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

Side by Side Diff: nss/lib/certdb/xconst.c

Issue 1017413002: Uprev NSS to 3.18 RTM (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@nspr_uprev
Patch Set: Rebased Created 5 years, 8 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
« no previous file with comments | « nss/lib/certdb/crl.c ('k') | nss/lib/certhigh/certvfypkix.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /* 5 /*
6 * X.509 Extension Encoding 6 * X.509 Extension Encoding
7 */ 7 */
8 8
9 #include "prtypes.h" 9 #include "prtypes.h"
10 #include "seccomon.h" 10 #include "seccomon.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 CERTNameConstraints * 219 CERTNameConstraints *
220 CERT_DecodeNameConstraintsExtension(PLArenaPool *arena, 220 CERT_DecodeNameConstraintsExtension(PLArenaPool *arena,
221 const SECItem *encodedConstraints) 221 const SECItem *encodedConstraints)
222 { 222 {
223 return cert_DecodeNameConstraints(arena, encodedConstraints); 223 return cert_DecodeNameConstraints(arena, encodedConstraints);
224 } 224 }
225 225
226 226
227 CERTAuthInfoAccess ** 227 CERTAuthInfoAccess **
228 CERT_DecodeAuthInfoAccessExtension(PLArenaPool *reqArena, 228 CERT_DecodeAuthInfoAccessExtension(PLArenaPool *reqArena,
229 » » » » SECItem *encodedExtension) 229 » » » » const SECItem *encodedExtension)
230 { 230 {
231 CERTAuthInfoAccess **info = NULL; 231 CERTAuthInfoAccess **info = NULL;
232 SECStatus rv; 232 SECStatus rv;
233 int i; 233 int i;
234 SECItem* newEncodedExtension; 234 SECItem* newEncodedExtension;
235 235
236 if (!reqArena) { 236 if (!reqArena) {
237 PORT_SetError(SEC_ERROR_INVALID_ARGS); 237 PORT_SetError(SEC_ERROR_INVALID_ARGS);
238 return NULL; 238 return NULL;
239 } 239 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 /* Note that this may leave some of the locations filled in. */ 277 /* Note that this may leave some of the locations filled in. */
278 return SECFailure; 278 return SECFailure;
279 } 279 }
280 dummy = SEC_ASN1EncodeItem(arena, dest, &info, 280 dummy = SEC_ASN1EncodeItem(arena, dest, &info,
281 CERTAuthInfoAccessTemplate); 281 CERTAuthInfoAccessTemplate);
282 if (dummy == NULL) { 282 if (dummy == NULL) {
283 return SECFailure; 283 return SECFailure;
284 } 284 }
285 return SECSuccess; 285 return SECSuccess;
286 } 286 }
OLDNEW
« no previous file with comments | « nss/lib/certdb/crl.c ('k') | nss/lib/certhigh/certvfypkix.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698