commit | 0f84dc6107927c2c5ba15ce5254c93f122837602 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Mon May 18 17:33:35 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Fri May 22 22:52:07 2015 +0000 |
tree | f036003abd3b13fecce76378a1797d06a9115ee9 | |
parent | 66537ee0121bdd14737191d14927da223f0809ee [diff] |
Use |BIO_read_asn1| when parsing PKCS#7. Previously the code read the whole of the BIO and parsed any PKCS#7 blobs that were found. However, X509CertificateTest specifically tests that trailing data is retained when parsing PKCS#7 so this change makes it so. This depends on https://android-review.googlesource.com/#/c/151205/. Bug: 21396526 Bug: 21209493 Change-Id: I4e07cebf599f52aedbea9b0a3f66d9a052c86aaa