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

Side by Side Diff: nss/lib/softoken/lgglue.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
« no previous file with comments | « nss/lib/softoken/lgglue.h ('k') | nss/lib/softoken/lowpbe.h » ('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 * The following code handles the storage of PKCS 11 modules used by the 5 * The following code handles the storage of PKCS 11 modules used by the
6 * NSS. This file is written to abstract away how the modules are 6 * NSS. This file is written to abstract away how the modules are
7 * stored so we can deside that later. 7 * stored so we can deside that later.
8 */ 8 */
9 #include "sftkdb.h" 9 #include "sftkdb.h"
10 #include "sftkdbti.h" 10 #include "sftkdbti.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 return lib; 162 return lib;
163 } 163 }
164 #endif /* STATIC LIBRARIES */ 164 #endif /* STATIC LIBRARIES */
165 165
166 /* 166 /*
167 * stub files for legacy db's to be able to encrypt and decrypt 167 * stub files for legacy db's to be able to encrypt and decrypt
168 * various keys and attributes. 168 * various keys and attributes.
169 */ 169 */
170 static SECStatus 170 static SECStatus
171 sftkdb_encrypt_stub(PRArenaPool *arena, SDB *sdb, SECItem *plainText, 171 sftkdb_encrypt_stub(PLArenaPool *arena, SDB *sdb, SECItem *plainText,
172 SECItem **cipherText) 172 SECItem **cipherText)
173 { 173 {
174 SFTKDBHandle *handle = sdb->app_private; 174 SFTKDBHandle *handle = sdb->app_private;
175 SECStatus rv; 175 SECStatus rv;
176 176
177 if (handle == NULL) { 177 if (handle == NULL) {
178 return SECFailure; 178 return SECFailure;
179 } 179 }
180 180
181 /* if we aren't the key handle, try the other handle */ 181 /* if we aren't the key handle, try the other handle */
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 legacy_glue_readSecmod = NULL; 449 legacy_glue_readSecmod = NULL;
450 legacy_glue_releaseSecmod = NULL; 450 legacy_glue_releaseSecmod = NULL;
451 legacy_glue_deleteSecmod = NULL; 451 legacy_glue_deleteSecmod = NULL;
452 legacy_glue_addSecmod = NULL; 452 legacy_glue_addSecmod = NULL;
453 legacy_glue_libCheckFailed = PR_FALSE; 453 legacy_glue_libCheckFailed = PR_FALSE;
454 legacy_glue_libCheckSucceeded = PR_FALSE; 454 legacy_glue_libCheckSucceeded = PR_FALSE;
455 return crv; 455 return crv;
456 } 456 }
457 457
458 458
OLDNEW
« no previous file with comments | « nss/lib/softoken/lgglue.h ('k') | nss/lib/softoken/lowpbe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698