PORT_Assert( ssl_HaveRecvBufLock(ss) ); PORT_Assert( ssl_HaveSSL3HandshakeLock(ss) );
PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) ); PORT_Assert( ss->opt.noLocks || ssl_HaveSSL3HandshakeLock(ss) );
ssl3_ConsumeHandshake(sslSocket *ss, void *v, PRInt32 bytes, SSL3Opaque **b,		      PRUint32 *length){    PORT_Assert( ssl_HaveRecvBufLock(ss) );    PORT_Assert( ssl_HaveSSL3HandshakeLock(ss) );    if ((PRUint32)bytes > *length) {	return ssl3_DecodeError(ss);    }    PORT_Memcpy(v, *b, bytes);    PRINT_BUF(60, (ss, "consume bytes:", *b, bytes));    *b      += bytes;    *length -= bytes;    return SECSuccess;}