()
| 201 | } |
| 202 | |
| 203 | func (h finishedHash) Sum() []byte { |
| 204 | if h.version >= VersionTLS12 { |
| 205 | return h.client.Sum(nil) |
| 206 | } |
| 207 | |
| 208 | out := make([]byte, 0, md5.Size+sha1.Size) |
| 209 | out = h.clientMD5.Sum(out) |
| 210 | return h.client.Sum(out) |
| 211 | } |
| 212 | |
| 213 | // clientSum returns the contents of the verify_data member of a client's |
| 214 | // Finished message. |
no outgoing calls
no test coverage detected