PORT_Assert( ssl_HaveRecvBufLock(ss) );
PORT_Assert( ss->opt.noLocks || ssl_HaveRecvBufLock(ss) );
ssl3_GatherAppDataRecord(sslSocket *ss, int flags){    int            rv;    PORT_Assert( ssl_HaveRecvBufLock(ss) );    do {	rv = ssl3_GatherCompleteHandshake(ss, flags);    } while (rv > 0 && ss->gs.buf.len == 0);    return rv;}