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

Unified Diff: nss/lib/softoken/pkcs11c.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/softoken/padbuf.c ('k') | nss/lib/softoken/sftkdb.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/softoken/pkcs11c.c
===================================================================
--- nss/lib/softoken/pkcs11c.c (revision 203524)
+++ nss/lib/softoken/pkcs11c.c (working copy)
@@ -53,8 +53,8 @@
#include "pkcs11f.h"
typedef struct {
- uint8 client_version[2];
- uint8 random[46];
+ PRUint8 client_version[2];
+ PRUint8 random[46];
} SSL3RSAPreMasterSecret;
static void sftk_Null(void *data, PRBool freeit)
@@ -3287,7 +3287,7 @@
SECItem salt;
CK_PBE_PARAMS *pbe_params = NULL;
NSSPKCS5PBEParameter *params;
- PRArenaPool *arena = NULL;
+ PLArenaPool *arena = NULL;
SECStatus rv;
*pbe = NULL;
@@ -5337,11 +5337,11 @@
*/
static CK_RV sftk_compute_ANSI_X9_63_kdf(CK_BYTE **key, CK_ULONG key_len, SECItem *SharedSecret,
CK_BYTE_PTR SharedInfo, CK_ULONG SharedInfoLen,
- SECStatus Hash(unsigned char *, const unsigned char *, uint32),
+ SECStatus Hash(unsigned char *, const unsigned char *, PRUint32),
CK_ULONG HashLen)
{
unsigned char *buffer = NULL, *output_buffer = NULL;
- uint32 buffer_len, max_counter, i;
+ PRUint32 buffer_len, max_counter, i;
SECStatus rv;
/* Check that key_len isn't too long. The maximum key length could be
« no previous file with comments | « nss/lib/softoken/padbuf.c ('k') | nss/lib/softoken/sftkdb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698