diff options
author | Kenny Root <kroot@google.com> | 2016-11-09 11:13:47 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-11-10 00:41:19 +0000 |
commit | 9a659a11d15643dc76a686ac36823a6f99c723a0 (patch) | |
tree | 87a106d7b16101d018a0e519994cf53f7e52812a /include/ScopedJavaUnicodeString.h | |
parent | a76a5016f1ff8ecf6cedd4601cf3b5c4b45af627 (diff) |
CertificateTest: explicitly set validity check date
Since this test uses pre-generated certificates, they will expire
eventually given enough time. Instead of regenerating them, just set the
date in the PKIXParameters to compare their validity against.
(cherry picked from commit 4412830e6a850acf830fda4dbdc3e5da7950c87b)
Test: vogar --mode host --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-support-hostx_intermediates/classes.jack --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-hostdex_intermediates/classes.jack libcore/luni/src/test/java/tests/targets/security/cert/CertificateTest.java
Bug: 32756119
Bug: 32767302
Change-Id: Id48ecf289277ae9d98642b15aaa17c126bdc43e9
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions