()
| 188 | } |
| 189 | |
| 190 | func (h finishedHash) Sum() []byte { |
| 191 | if h.version >= VersionTLS12 { |
| 192 | return h.client.Sum(nil) |
| 193 | } |
| 194 | |
| 195 | out := make([]byte, 0, md5.Size+sha1.Size) |
| 196 | out = h.clientMD5.Sum(out) |
| 197 | return h.client.Sum(out) |
| 198 | } |
| 199 | |
| 200 | // clientSum returns the contents of the verify_data member of a client's |
| 201 | // Finished message. |
no outgoing calls
no test coverage detected