mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00

An io.Reader does not guarantee that it can read all bytes possible to fill the input buffer. Thus, we should use io.ReadFull here instead. Cherry-picked from ddfd4a2b2d89e20f0a7c63c88420aaa419d4d95c of https://github.com/google/certificate-transparency
The code in this directory is from https://github.com/google/certificate-transparency/tree/master/go See AUTHORS for the copyright holders, and LICENSE for the license.