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

Unified Diff: nss/lib/pk11wrap/pk11pbe.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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nss/lib/pk11wrap/pk11pars.c ('k') | nss/lib/pk11wrap/pk11pk12.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/pk11wrap/pk11pbe.c
===================================================================
--- nss/lib/pk11wrap/pk11pbe.c (revision 203524)
+++ nss/lib/pk11wrap/pk11pbe.c (working copy)
@@ -26,7 +26,7 @@
typedef struct SEC_PKCS5PBEParameterStr SEC_PKCS5PBEParameter;
struct SEC_PKCS5PBEParameterStr {
- PRArenaPool *poolp;
+ PLArenaPool *poolp;
SECItem salt; /* octet string */
SECItem iteration; /* integer */
SECItem keyLength; /* PKCS5v2 only */
@@ -39,7 +39,7 @@
* and SEC_OID_PKCS5_PBMAC1
*/
struct sec_pkcs5V2ParameterStr {
- PRArenaPool *poolp;
+ PLArenaPool *poolp;
SECAlgorithmID pbeAlgId; /* real pbe algorithms */
SECAlgorithmID cipherAlgId; /* encryption/mac */
};
@@ -144,9 +144,9 @@
* if arena is passed in, use it, otherwise create a new arena.
*/
sec_pkcs5V2Parameter *
-sec_pkcs5_v2_get_v2_param(PRArenaPool *arena, SECAlgorithmID *algid)
+sec_pkcs5_v2_get_v2_param(PLArenaPool *arena, SECAlgorithmID *algid)
{
- PRArenaPool *localArena = NULL;
+ PLArenaPool *localArena = NULL;
sec_pkcs5V2Parameter *pbeV2_param;
SECStatus rv;
@@ -313,7 +313,7 @@
sec_pkcs5v2_key_length(SECAlgorithmID *algid)
{
SECOidTag algorithm;
- PRArenaPool *arena = NULL;
+ PLArenaPool *arena = NULL;
SEC_PKCS5PBEParameter p5_param;
SECStatus rv;
int length = -1;
@@ -471,7 +471,7 @@
int keyLength,
SECOidTag prfAlg)
{
- PRArenaPool *poolp = NULL;
+ PLArenaPool *poolp = NULL;
SEC_PKCS5PBEParameter *pbe_param = NULL;
SECStatus rv= SECSuccess;
void *dummy = NULL;
@@ -559,7 +559,7 @@
SECItem *salt,
int iteration)
{
- PRArenaPool *poolp = NULL;
+ PLArenaPool *poolp = NULL;
SECAlgorithmID *algid, *ret_algid = NULL;
SECOidTag pbeAlgorithm = algorithm;
SECItem der_param;
@@ -740,7 +740,7 @@
SEC_PKCS5PBEParameter p5_param;
SECItem *salt = NULL;
SECOidTag algorithm = SECOID_GetAlgorithmTag(algid);
- PRArenaPool *arena = NULL;
+ PLArenaPool *arena = NULL;
SECStatus rv = SECFailure;
unsigned char *paramData = NULL;
unsigned char *pSalt = NULL;
@@ -868,7 +868,7 @@
* PBE algorithmID's directly.
*/
SECStatus
-PBE_PK11ParamToAlgid(SECOidTag algTag, SECItem *param, PRArenaPool *arena,
+PBE_PK11ParamToAlgid(SECOidTag algTag, SECItem *param, PLArenaPool *arena,
SECAlgorithmID *algId)
{
CK_PBE_PARAMS *pbe_param;
« no previous file with comments | « nss/lib/pk11wrap/pk11pars.c ('k') | nss/lib/pk11wrap/pk11pk12.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698