Restore years value about certificates on comment 94/92094/1
authorsangwan.kwon <sangwan.kwon@samsung.com>
Thu, 13 Oct 2016 08:08:28 +0000 (17:08 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Thu, 13 Oct 2016 08:08:28 +0000 (17:08 +0900)
* It is 'revert' of below.
* [a7a25a3] Update Copyright year to 2016

Change-Id: Id721638afc985ef0714e50f3bb14639f9488edee
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
tests/capi/common-res.h
tests/capi/test-certificate.cpp

index a3a49e6..7339fcb 100644 (file)
@@ -55,14 +55,14 @@ extern const std::string googleCA;
 /*
  *  Signed by googleCA
  *  Not Before: May 13 00:00:00 2004 GMT
- *  Not After : May 12 23:59:59 2016 GMT
+ *  Not After : May 12 23:59:59 2014 GMT
  */
 extern const std::string google2nd;
 
 /*
  *  Signed by google2nd
- *  Not Before: Oct 26 00:00:00 2016 GMT
- *  Not After : Sep 30 23:59:59 2016 GMT
+ *  Not Before: Oct 26 00:00:00 2011 GMT
+ *  Not After : Sep 30 23:59:59 2013 GMT
  */
 extern const std::string certEE;
 
@@ -73,13 +73,13 @@ extern const std::string certEE;
 extern const std::string certFullField;
 
 /*
- *  Not Before: Oct  5 12:11:33 2016 GMT
+ *  Not Before: Oct  5 12:11:33 2011 GMT
  *  Not After : Oct  2 12:11:33 2021 GMT
  */
 extern const SigComponents magda;
 
 /*
- *  Not Before: Oct  5 12:00:51 2016 GMT
+ *  Not Before: Oct  5 12:00:51 2011 GMT
  *  Not After : Oct  2 12:00:51 2021 GMT
  */
 extern const SigComponents filipSHA1;
@@ -87,23 +87,23 @@ extern const SigComponents filipSHA256;
 
 /*
  *  Signer
- *  Not Before: Jun 18 08:11:04 2016 GMT
- *  Not After : Jun 18 08:11:04 2016 GMT
+ *  Not Before: Jun 18 08:11:04 2014 GMT
+ *  Not After : Jun 18 08:11:04 2015 GMT
  *
  *  Second CA
- *  Not Before: Jun 18 08:10:59 2016 GMT
- *  Not After : Jun 18 08:10:59 2016 GMT
+ *  Not Before: Jun 18 08:10:59 2014 GMT
+ *  Not After : Jun 18 08:10:59 2015 GMT
  *
  *  Root CA
- *  Not Before: Jun 18 08:10:51 2016 GMT
- *  Not After : Jun 18 08:10:51 2016 GMT
+ *  Not Before: Jun 18 08:10:51 2014 GMT
+ *  Not After : Jun 18 08:10:51 2015 GMT
  */
 extern std::vector<std::string> certChain;
 
 /*
  *  Second CA
- *  Not Before: Jun 14 08:12:50 2016 GMT
- *  Not After : Jun 14 08:12:50 2016 GMT
+ *  Not Before: Jun 14 08:12:50 2014 GMT
+ *  Not After : Jun 14 08:12:50 2015 GMT
  *
  *  Root CA
  *  Not Before: Jun 14 08:12:35 2016 GMT
index 3f8199c..e79d310 100644 (file)
@@ -118,7 +118,7 @@ RUNNER_TEST(T0104_not_before_not_after)
        RUNNER_ASSERT_MSG(before == 1084406400, "TODO");
        result = certsvc_certificate_get_not_after(cert, &after);
        RUNNER_ASSERT_MSG(CERTSVC_SUCCESS == result, "Error extracting NOT_AFTER");
-       //extracted: date --date="May 12 23:59:59 2016 GMT" +%s
+       //extracted: date --date="May 12 23:59:59 2014 GMT" +%s
        RUNNER_ASSERT_MSG(after == 1399939199, "TODO");
 }