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

Unified Diff: net/third_party/nss/ssl/sslver.c

Issue 691193002: Remove a reference to __DATE__ and __TIME__ from nss for non official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « net/third_party/nss/patches/removebuildmetadata.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/sslver.c
diff --git a/net/third_party/nss/ssl/sslver.c b/net/third_party/nss/ssl/sslver.c
index 35e0317eac23832d82b05658258aba4d7178a834..ed8273753f4157e86045e02e03c92da2a9b9fe89 100644
--- a/net/third_party/nss/ssl/sslver.c
+++ b/net/third_party/nss/ssl/sslver.c
@@ -12,6 +12,12 @@
#define _DEBUG_STRING ""
#endif
+#if defined(DONT_EMBED_BUILD_METADATA) && !defined(OFFICIAL_BUILD)
+#define _DATE_AND_TIME "Sep 02 2008 08:00:00"
+#else
+#define _DATE_AND_TIME __DATE__ " " __TIME__
+#endif
+
/*
* Version information for the 'ident' and 'what commands
*
@@ -19,6 +25,6 @@
* must not end in a '$' to prevent rcs keyword substitution.
*/
const char __nss_ssl_rcsid[] = "$Header: NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__ " $";
+ " " _DATE_AND_TIME " $";
const char __nss_ssl_sccsid[] = "@(#)NSS " NSS_VERSION _DEBUG_STRING
- " " __DATE__ " " __TIME__;
+ " " _DATE_AND_TIME;
« no previous file with comments | « net/third_party/nss/patches/removebuildmetadata.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698