summaryrefslogtreecommitdiffstats
path: root/net/third_party/nss/patches/removebuildmetadata.patch
blob: cd25f09ee87e5fd683f7e0c25a19a772dda20497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/ssl/sslver.c b/ssl/sslver.c
index 35e0317..ea60888 100644
--- a/ssl/sslver.c
+++ b/ssl/sslver.c
@@ -12,6 +12,13 @@
 #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 +26,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;