if(ret > 0)
if(ret > 0) {
void buffer_from_BIO(buffer_t *buf, BIO *bio){	int ret;	if(!bio || buffer_full(buf))		return;	ret = BIO_read(bio, buf->data + buf->used, buffer_unused(buf));	if(ret > 0)		buf->used += ret;}