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

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

Issue 13898013: Update NSS to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update NSS versions and tag in README.chromium Created 7 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 | 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 /* 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 { 211 {
212 SECStatus rv = SECSuccess; 212 SECStatus rv = SECSuccess;
213 213
214 rv = cert_EncodeNameConstraints(value, arena, encodedValue); 214 rv = cert_EncodeNameConstraints(value, arena, encodedValue);
215 return rv; 215 return rv;
216 } 216 }
217 217
218 218
219 CERTNameConstraints * 219 CERTNameConstraints *
220 CERT_DecodeNameConstraintsExtension(PRArenaPool *arena, 220 CERT_DecodeNameConstraintsExtension(PRArenaPool *arena,
221 » » » » 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(PRArenaPool *reqArena, 228 CERT_DecodeAuthInfoAccessExtension(PRArenaPool *reqArena,
229 SECItem *encodedExtension) 229 SECItem *encodedExtension)
230 { 230 {
231 CERTAuthInfoAccess **info = NULL; 231 CERTAuthInfoAccess **info = NULL;
(...skipping 45 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

Powered by Google App Engine
This is Rietveld 408576698