commit | 71106adf89e861da0ea32a64307bf778167dce4f | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Mon May 18 17:25:20 2015 -0700 |
committer | Adam Langley <agl@google.com> | Wed May 27 15:21:56 2015 -0700 |
tree | 9e059ec5071622d1eefa60f613cbad4cb70b4485 | |
parent | eb930b87032bce94efd2c54e8d843f283231f6fd [diff] |
Add |BIO_read_asn1| to read a single ASN.1 object. Android needs to be able to read a PKCS#7 blob from a Java InputStream. This change adds |BIO_read_asn1| which reads a single ASN.1 object from the start of a BIO without overreading. Change-Id: I74776e686529c8e58af1c26a4909f9bd4e87b707