Don't copy from a nonexistent next. Coverity ID 47.
This commit is contained in:
parent
3b2eead381
commit
ab2d91bd6b
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue