Fix bug in base64 bios during write an non blocking I/O:

if the write fails when flushing the buffer return the
value to the application so it can retry.
This commit is contained in:
Dr. Stephen Henson 2003-02-20 13:37:48 +00:00
parent fbbfd86b67
commit 5672e3a321

View File

@ -484,10 +484,7 @@ again:
{
i=b64_write(b,NULL,0);
if (i < 0)
{
ret=i;
break;
}
return i;
}
if (BIO_get_flags(b) & BIO_FLAGS_BASE64_NO_NL)
{