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

Unified Diff: nss/lib/util/secasn1d.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/util/secalgid.c ('k') | nss/lib/util/secasn1e.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/util/secasn1d.c
===================================================================
--- nss/lib/util/secasn1d.c (revision 203524)
+++ nss/lib/util/secasn1d.c (working copy)
@@ -272,8 +272,8 @@
* SEC_ASN1DecoderFinish().
*/
struct sec_DecoderContext_struct {
- PRArenaPool *our_pool; /* for our internal allocs */
- PRArenaPool *their_pool; /* for destination structure allocs */
+ PLArenaPool *our_pool; /* for our internal allocs */
+ PLArenaPool *their_pool; /* for destination structure allocs */
#ifdef SEC_ASN1D_FREE_ON_ERROR /*
* XXX see comment below (by same
* ifdef) that explains why this
@@ -304,7 +304,7 @@
* XXX this is a fairly generic function that may belong elsewhere
*/
static void *
-sec_asn1d_alloc (PRArenaPool *poolp, unsigned long len)
+sec_asn1d_alloc (PLArenaPool *poolp, unsigned long len)
{
void *thing;
@@ -328,7 +328,7 @@
* XXX this is a fairly generic function that may belong elsewhere
*/
static void *
-sec_asn1d_zalloc (PRArenaPool *poolp, unsigned long len)
+sec_asn1d_zalloc (PLArenaPool *poolp, unsigned long len)
{
void *thing;
@@ -956,7 +956,7 @@
sec_asn1d_prepare_for_contents (sec_asn1d_state *state)
{
SECItem *item;
- PRArenaPool *poolp;
+ PLArenaPool *poolp;
unsigned long alloc_len;
#ifdef DEBUG_ASN1D_STATES
@@ -2818,10 +2818,10 @@
SEC_ASN1DecoderContext *
-SEC_ASN1DecoderStart (PRArenaPool *their_pool, void *dest,
+SEC_ASN1DecoderStart (PLArenaPool *their_pool, void *dest,
const SEC_ASN1Template *theTemplate)
{
- PRArenaPool *our_pool;
+ PLArenaPool *our_pool;
SEC_ASN1DecoderContext *cx;
our_pool = PORT_NewArena (SEC_ASN1_DEFAULT_ARENA_SIZE);
@@ -2910,7 +2910,7 @@
SECStatus
-SEC_ASN1Decode (PRArenaPool *poolp, void *dest,
+SEC_ASN1Decode (PLArenaPool *poolp, void *dest,
const SEC_ASN1Template *theTemplate,
const char *buf, long len)
{
@@ -2932,7 +2932,7 @@
SECStatus
-SEC_ASN1DecodeItem (PRArenaPool *poolp, void *dest,
+SEC_ASN1DecodeItem (PLArenaPool *poolp, void *dest,
const SEC_ASN1Template *theTemplate,
const SECItem *src)
{
« no previous file with comments | « nss/lib/util/secalgid.c ('k') | nss/lib/util/secasn1e.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698