| Index: net/third_party/nss/ssl/ssl3gthr.c
|
| ===================================================================
|
| --- net/third_party/nss/ssl/ssl3gthr.c (revision 75311)
|
| +++ net/third_party/nss/ssl/ssl3gthr.c (working copy)
|
| @@ -36,7 +36,7 @@
|
| * the terms of any one of the MPL, the GPL or the LGPL.
|
| *
|
| * ***** END LICENSE BLOCK ***** */
|
| -/* $Id: ssl3gthr.c,v 1.9 2008/11/20 07:37:25 nelson%bolyard.com Exp $ */
|
| +/* $Id: ssl3gthr.c,v 1.9.20.1 2010/07/31 04:33:52 wtc%google.com Exp $ */
|
|
|
| #include "cert.h"
|
| #include "ssl.h"
|
| @@ -200,6 +200,8 @@
|
|
|
| /* decipher it, and handle it if it's a handshake.
|
| * If it's application data, ss->gs.buf will not be empty upon return.
|
| + * If it's a change cipher spec, alert, or handshake message,
|
| + * ss->gs.buf.len will be 0 when ssl3_HandleRecord returns SECSuccess.
|
| */
|
| cText.type = (SSL3ContentType)ss->gs.hdr[0];
|
| cText.version = (ss->gs.hdr[1] << 8) | ss->gs.hdr[2];
|
|
|