Lines Matching refs:sb
96 BIO_SSL *sb; in ssl_read() local
103 sb = BIO_get_data(b); in ssl_read()
104 ssl = sb->ssl; in ssl_read()
112 if (sb->renegotiate_count > 0) { in ssl_read()
113 sb->byte_count += *readbytes; in ssl_read()
114 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
115 sb->byte_count = 0; in ssl_read()
116 sb->num_renegotiates++; in ssl_read()
121 if ((sb->renegotiate_timeout > 0) && (!r)) { in ssl_read()
125 if (tm > sb->last_time + sb->renegotiate_timeout) { in ssl_read()
126 sb->last_time = tm; in ssl_read()
127 sb->num_renegotiates++; in ssl_read()