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:
b97324d
)
Exit the loop on failure
author
Jon Spillett
<jon.spillett@oracle.com>
Wed, 1 Mar 2017 04:22:21 +0000
(14:22 +1000)
committer
Rich Salz
<rsalz@openssl.org>
Thu, 9 Mar 2017 14:33:38 +0000
(09:33 -0500)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2805)
(cherry picked from commit
f125430063dd81efe098c99542b02b2a918adc1d
)
crypto/asn1/bio_asn1.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/bio_asn1.c
b/crypto/asn1/bio_asn1.c
index 400effa12cf5ab2bf30ba0299146919c98a9692f..7576c65dd1d41370a5e6ade0c4cdf5ce4d0bbf09 100644
(file)
--- a/
crypto/asn1/bio_asn1.c
+++ b/
crypto/asn1/bio_asn1.c
@@
-209,7
+209,7
@@
static int asn1_bio_write(BIO *b, const char *in, int inl)
wrmax = inl;
ret = BIO_write(next, in, wrmax);
if (ret <= 0)
-
break
;
+
goto done
;
wrlen += ret;
ctx->copylen -= ret;
in += ret;