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

Unified Diff: nss/lib/certdb/certdb.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/certdb/alg1485.c ('k') | nss/lib/certdb/certi.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/certdb/certdb.c
===================================================================
--- nss/lib/certdb/certdb.c (revision 203524)
+++ nss/lib/certdb/certdb.c (working copy)
@@ -209,7 +209,7 @@
SEC_ASN1_CHOOSER_IMPLEMENT(CERT_SequenceOfCertExtensionTemplate)
SECStatus
-CERT_KeyFromIssuerAndSN(PRArenaPool *arena, SECItem *issuer, SECItem *sn,
+CERT_KeyFromIssuerAndSN(PLArenaPool *arena, SECItem *issuer, SECItem *sn,
SECItem *key)
{
key->len = sn->len + issuer->len;
@@ -243,7 +243,7 @@
CERT_NameFromDERCert(SECItem *derCert, SECItem *derName)
{
int rv;
- PRArenaPool *arena;
+ PLArenaPool *arena;
CERTSignedData sd;
void *tmpptr;
@@ -287,7 +287,7 @@
CERT_IssuerNameFromDERCert(SECItem *derCert, SECItem *derName)
{
int rv;
- PRArenaPool *arena;
+ PLArenaPool *arena;
CERTSignedData sd;
void *tmpptr;
@@ -331,7 +331,7 @@
CERT_SerialNumberFromDERCert(SECItem *derCert, SECItem *derName)
{
int rv;
- PRArenaPool *arena;
+ PLArenaPool *arena;
CERTSignedData sd;
void *tmpptr;
@@ -376,7 +376,7 @@
* DER certificate.
*/
SECStatus
-CERT_KeyFromDERCert(PRArenaPool *reqArena, SECItem *derCert, SECItem *key)
+CERT_KeyFromDERCert(PLArenaPool *reqArena, SECItem *derCert, SECItem *key)
{
int rv;
CERTSignedData sd;
@@ -744,7 +744,7 @@
char *nickname)
{
CERTCertificate *cert;
- PRArenaPool *arena;
+ PLArenaPool *arena;
void *data;
int rv;
int len;
@@ -874,11 +874,11 @@
CERTValidity *
-CERT_CreateValidity(int64 notBefore, int64 notAfter)
+CERT_CreateValidity(PRTime notBefore, PRTime notAfter)
{
CERTValidity *v;
int rv;
- PRArenaPool *arena;
+ PLArenaPool *arena;
if (notBefore > notAfter) {
PORT_SetError(SEC_ERROR_INVALID_ARGS);
@@ -906,7 +906,7 @@
}
SECStatus
-CERT_CopyValidity(PRArenaPool *arena, CERTValidity *to, CERTValidity *from)
+CERT_CopyValidity(PLArenaPool *arena, CERTValidity *to, CERTValidity *from)
{
SECStatus rv;
@@ -1417,7 +1417,7 @@
SECStatus
cert_VerifySubjectAltName(const CERTCertificate *cert, const char *hn)
{
- PRArenaPool * arena = NULL;
+ PLArenaPool * arena = NULL;
CERTGeneralName * nameList = NULL;
CERTGeneralName * current;
char * cn;
@@ -1552,7 +1552,7 @@
* - return value is NULL
*/
CERTGeneralName *
-cert_GetSubjectAltNameList(const CERTCertificate *cert, PRArenaPool *arena)
+cert_GetSubjectAltNameList(const CERTCertificate *cert, PLArenaPool *arena)
{
CERTGeneralName * nameList = NULL;
SECStatus rv = SECFailure;
@@ -1691,7 +1691,7 @@
{
CERTGeneralName *generalNames;
CERTCertNicknames *nickNames;
- PRArenaPool *arena;
+ PLArenaPool *arena;
char *singleName;
arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
@@ -1916,7 +1916,7 @@
CERTIssuerAndSN *
-CERT_GetCertIssuerAndSN(PRArenaPool *arena, CERTCertificate *cert)
+CERT_GetCertIssuerAndSN(PLArenaPool *arena, CERTCertificate *cert)
{
CERTIssuerAndSN *result;
SECStatus rv;
@@ -2512,7 +2512,7 @@
CERTCertList *
CERT_NewCertList(void)
{
- PRArenaPool *arena = NULL;
+ PLArenaPool *arena = NULL;
CERTCertList *ret = NULL;
arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
« no previous file with comments | « nss/lib/certdb/alg1485.c ('k') | nss/lib/certdb/certi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698