From 0bef65845f85033176027234eec498a4a71ff890 Mon Sep 17 00:00:00 2001 From: "sangwan.kwon" Date: Thu, 13 Oct 2016 17:08:28 +0900 Subject: [PATCH] Restore years value about certificates on comment * It is 'revert' of below. * [a7a25a3] Update Copyright year to 2016 Change-Id: Id721638afc985ef0714e50f3bb14639f9488edee Signed-off-by: sangwan.kwon --- tests/capi/common-res.h | 26 +++++++++++++------------- tests/capi/test-certificate.cpp | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/capi/common-res.h b/tests/capi/common-res.h index a3a49e6..7339fcb 100644 --- a/tests/capi/common-res.h +++ b/tests/capi/common-res.h @@ -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 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 diff --git a/tests/capi/test-certificate.cpp b/tests/capi/test-certificate.cpp index 3f8199c..e79d310 100644 --- a/tests/capi/test-certificate.cpp +++ b/tests/capi/test-certificate.cpp @@ -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"); } -- 2.7.4