buf->total_in += ret; }
void buffer_from_SSL(buffer_t *buf, SSL *ssl){	int ret;	if(!ssl || buffer_full(buf))		return;	ret = SSL_read(ssl, buf->data + buf->used, buffer_unused(buf));	if(ret > 0)		buf->used += ret;	if(ret < 0)		int_ssl_check(ssl, ret);}