commit | 00b2860e8d34cdbe3fda50661d426b9ce8cb8cf9 | [log] [download] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Mon Jun 24 13:02:41 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Mon Jun 24 19:09:25 2013 +0200 |
tree | 92e9d9870eda0e385090bc3452600e79a8a5a579 | |
parent | b2a11404691ac84aa6fa49ff0dfb6eba6b815461 [diff] |
pem_read_buffer() already update use_len after header and footer are read After header and footer are read, pem_read_buffer() is able to determine the length of input data used. This allows calling functions to skip this PEM bit if an error occurs during its parsing. (cherry picked from commit 9255e8300e550b548b54603c77585921f442e391)