Don't copy from a nonexistent next. Coverity ID 47.
This commit is contained in:
parent
3b2eead381
commit
ab2d91bd6b
@ -157,8 +157,11 @@ static int md_write(BIO *b, const char *in, int inl)
|
|||||||
(unsigned int)ret);
|
(unsigned int)ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(b->next_bio != NULL)
|
||||||
|
{
|
||||||
BIO_clear_retry_flags(b);
|
BIO_clear_retry_flags(b);
|
||||||
BIO_copy_next_retry(b);
|
BIO_copy_next_retry(b);
|
||||||
|
}
|
||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user