Simplify SSLTranscript.
With SSL 3.0 gone, there's no need to split up MD5 and SHA-1.
Change-Id: Ia4236c738dfa6743f1028c2d53761c95cba96288
Reviewed-on: https://boringssl-review.googlesource.com/29744
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
diff --git a/ssl/internal.h b/ssl/internal.h
index 6b79870..20efc9d 100644
--- a/ssl/internal.h
+++ b/ssl/internal.h
@@ -616,12 +616,8 @@
private:
// buffer_, if non-null, contains the handshake transcript.
UniquePtr<BUF_MEM> buffer_;
- // hash, if initialized with an |EVP_MD|, maintains the handshake hash. For
- // TLS 1.1 and below, it is the SHA-1 half.
+ // hash, if initialized with an |EVP_MD|, maintains the handshake hash.
ScopedEVP_MD_CTX hash_;
- // md5, if initialized with an |EVP_MD|, maintains the MD5 half of the
- // handshake hash for TLS 1.1 and below.
- ScopedEVP_MD_CTX md5_;
};
// tls1_prf computes the PRF function for |ssl|. It fills |out|, using |secret|