The branch OpenSSL_1_1_0-stable has been updated
via 723f616df81ea05f31407f7417f49eea89bb459a (commit)
from b97324dbcb12e8b509d513ded9ba3f71c14547d8 (commit)
- Log -----------------------------------------------------------------
commit 723f616df81ea05f31407f7417f49eea89bb459a
Author: Jon Spillett <[email protected]>
Date: Wed Mar 1 14:22:21 2017 +1000
Exit the loop on failure
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/2805)
(cherry picked from commit f125430063dd81efe098c99542b02b2a918adc1d)
-----------------------------------------------------------------------
Summary of changes:
crypto/asn1/bio_asn1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/asn1/bio_asn1.c b/crypto/asn1/bio_asn1.c
index 400effa..7576c65 100644
--- 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;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits