提交 ab2d91bd 编写于 作者: B Ben Laurie

Don't copy from a nonexistent next. Coverity ID 47.

上级 3b2eead3
......@@ -157,8 +157,11 @@ static int md_write(BIO *b, const char *in, int inl)
(unsigned int)ret);
}
}
BIO_clear_retry_flags(b);
BIO_copy_next_retry(b);
if(b->next_bio != NULL)
{
BIO_clear_retry_flags(b);
BIO_copy_next_retry(b);
}
return(ret);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册