don't insert time in response files: it breaks some systems and we shouldn't be doing...
authorDr. Stephen Henson <steve@openssl.org>
Fri, 18 May 2012 15:05:33 +0000 (15:05 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 18 May 2012 15:05:33 +0000 (15:05 +0000)
CHANGES
fips/aes/fips_aesavs.c
fips/des/fips_desmovs.c

diff --git a/CHANGES b/CHANGES
index fe19d3a80c5430d8ff824717a5e214b2611f0d14..e8464c7ae360dfb3099e6afd069609d6c963201e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,11 @@
 
  Changes between 1.0.1 and 1.1.0  [xx XXX xxxx]
 
+  *) Don't attempt to insert current time into AES/3DES tests, we should
+     be just copying input line across and this breaks some systems lacking
+     ctime. 
+     [Steve Henson]
+
   *) Update Windows build system for FIPS. Don't compile algorithm test
      utilties by default: the target build_tests is needed for that. Add
      support for building fips_algvs with the build_algvs target.
index fecaf990c609810a5569106d954331ce785f561d..ce07cac9928ed31f866f6fe51b3f7f59593b3ef0 100644 (file)
@@ -635,10 +635,8 @@ static int proc_file(char *rqfile, char *rspfile)
                char *xp, *pp = ibuf+2;
                int n;
                if (akeysz)
-                   { /* insert current time & date */
-                   time_t rtim = time(0);
-                   fputs("# ", rfp);
-                   copy_line(ctime(&rtim), rfp);
+                   {
+                   copy_line(ibuf, rfp);
                    }
                else
                    {
index 2bbeb53459ddad4ef7759431d138a647d2699d01..0ffab89e2f39b4ca433ea94dfc4b31ba6accc6ed 100644 (file)
@@ -356,10 +356,8 @@ static int tproc_file(char *rqfile, char *rspfile)
                char *xp, *pp = ibuf+2;
                int n;
                if(*amode)
-                   { /* insert current time & date */
-                   time_t rtim = time(0);
-                   fputs("# ", rfp);
-                   copy_line(ctime(&rtim), rfp);
+                   {
+                   copy_line(ibuf, rfp);
                    }
                else
                    {