Commit 5672e3a3 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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.
parent fbbfd86b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)
			{