Chromium Code Reviews| Index: net/third_party/nss/ssl/ssl3con.c |
| diff --git a/net/third_party/nss/ssl/ssl3con.c b/net/third_party/nss/ssl/ssl3con.c |
| index 4ed4b281e23c3784c9824e513d1d4a27aa5abb12..ee960890f836fb8bdb2ec76ca64bc1145f793d5b 100644 |
| --- a/net/third_party/nss/ssl/ssl3con.c |
| +++ b/net/third_party/nss/ssl/ssl3con.c |
| @@ -4184,6 +4184,10 @@ ssl3_SendClientHello(sslSocket *ss, PRBool resending) |
| * clear previous state. |
| */ |
| PORT_Memset(&ss->xtnData, 0, sizeof(TLSExtensionData)); |
| + ss->ssl3.hs.may_get_cert_status = PR_FALSE; |
| + if (ss->ssl3.hs.cert_status.data) { |
| + SECITEM_FreeItem(&ss->ssl3.hs.cert_status, PR_FALSE); |
| + } |
|
wtc
2013/02/25 23:59:21
This is a good place to clear these two members.
|
| SSL_TRC(30,("%d: SSL3[%d]: reset handshake hashes", |
| SSL_GETPID(), ss->fd )); |