Index: net/third_party/nss/ssl/sslsecur.c |
=================================================================== |
--- net/third_party/nss/ssl/sslsecur.c (revision 75311) |
+++ net/third_party/nss/ssl/sslsecur.c (working copy) |
@@ -37,7 +37,7 @@ |
* the terms of any one of the MPL, the GPL or the LGPL. |
* |
* ***** END LICENSE BLOCK ***** */ |
-/* $Id: sslsecur.c,v 1.43 2010/01/14 22:15:25 alexei.volkov.bugs%sun.com Exp $ */ |
+/* $Id: sslsecur.c,v 1.43.2.2 2010/08/26 18:06:55 wtc%google.com Exp $ */ |
#include "cert.h" |
#include "secitem.h" |
#include "keyhi.h" |
@@ -1363,16 +1363,9 @@ |
ss = ssl_FindSocket(fd); |
if (ss && ss->opt.useSecurity) { |
- |
- ssl_Get1stHandshakeLock(ss); |
- ssl_GetSSL3HandshakeLock(ss); |
- |
ssl_GetRecvBufLock(ss); |
rv = ss->gs.writeOffset - ss->gs.readOffset; |
ssl_ReleaseRecvBufLock(ss); |
- |
- ssl_ReleaseSSL3HandshakeLock(ss); |
- ssl_Release1stHandshakeLock(ss); |
} |
return rv; |