commit | 3725893865ddbdd2e9cebc2ea2f7ecfc357fcfbb | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon Apr 15 10:31:37 2013 -0700 |
committer | Kenny Root <kroot@google.com> | Mon Apr 15 10:52:17 2013 -0700 |
tree | 10c192d8cb3087ef089a9d6c3e03a689aeaaa8fa | |
parent | e60ba6238d887eb7c4882cccf375b445ebf4c10d [diff] |
NativeCrypto: set Calendar instances to 0 millis X.509 does not have a notion of milliseconds so it was not being set through the Calendar instances we used in OpenSSLX509Certificate, et al. Instead it was getting whatever the current millisecond offset was from the GregorianCalendar default constructor. That made two parsed certificates unlikely to be equal when comparing since the milliseconds were also checked. Bug: 8616647 Change-Id: I756088d946191417bb3afcba082bed5371ed731a