projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbfd86
)
Fix bug in base64 bios during write an non blocking I/O:
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 20 Feb 2003 13:37:48 +0000
(13:37 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 20 Feb 2003 13:37:48 +0000
(13:37 +0000)
if the write fails when flushing the buffer return the
value to the application so it can retry.
crypto/evp/bio_b64.c
patch
|
blob
|
history
diff --git
a/crypto/evp/bio_b64.c
b/crypto/evp/bio_b64.c
index 6e550f6a430e5885aae9ff1051b593158422468e..66004922ebe6001cd783890dc30cfcdc855191b2 100644
(file)
--- a/
crypto/evp/bio_b64.c
+++ b/
crypto/evp/bio_b64.c
@@
-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)
{