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

Unified Diff: nss/lib/freebl/poly1305.c

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 9 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
Index: nss/lib/freebl/poly1305.c
diff --git a/nss/lib/freebl/poly1305/poly1305.c b/nss/lib/freebl/poly1305.c
similarity index 98%
rename from nss/lib/freebl/poly1305/poly1305.c
rename to nss/lib/freebl/poly1305.c
index d86048a4efe7f7408192068763806d685aa3ae22..da0ab6d78747b3250bb114ef79977f52c60c5fd2 100644
--- a/nss/lib/freebl/poly1305/poly1305.c
+++ b/nss/lib/freebl/poly1305.c
@@ -7,10 +7,17 @@
* domain. */
#include <string.h>
-#include <stdint.h>
#include "poly1305.h"
+#if defined(_MSC_VER) && _MSC_VER < 1600
+#include "prtypes.h"
+typedef PRUint32 uint32_t;
+typedef PRUint64 uint64_t;
+#else
+#include <stdint.h>
+#endif
+
#if defined(NSS_X86) || defined(NSS_X64)
/* We can assume little-endian. */
static uint32_t U8TO32_LE(const unsigned char *m) {

Powered by Google App Engine
This is Rietveld 408576698