| 78 | } |
| 79 | |
| 80 | void BrClientConnection::appendCertData(const uint8_t* buf, size_t len) |
| 81 | { |
| 82 | if(x509.count() != 0) { |
| 83 | return; |
| 84 | } |
| 85 | |
| 86 | x509Decoder->push(buf, len); |
| 87 | |
| 88 | updateHash(certSha1Context, buf, len); |
| 89 | updateHash(certSha256Context, buf, len); |
| 90 | } |
| 91 | |
| 92 | void BrClientConnection::endCert() |
| 93 | { |
no test coverage detected