summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/asn1/bio_asn1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/bio_asn1.c b/src/lib/libcrypto/asn1/bio_asn1.c
index 9017786f1f..05bc1f7ad3 100644
--- a/src/lib/libcrypto/asn1/bio_asn1.c
+++ b/src/lib/libcrypto/asn1/bio_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_asn1.c,v 1.17 2022/01/14 08:40:57 tb Exp $ */ 1/* $OpenBSD: bio_asn1.c,v 1.18 2023/03/04 11:58:29 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -254,7 +254,7 @@ asn1_bio_write(BIO *b, const char *in , int inl)
254 wrmax = inl; 254 wrmax = inl;
255 ret = BIO_write(b->next_bio, in, wrmax); 255 ret = BIO_write(b->next_bio, in, wrmax);
256 if (ret <= 0) 256 if (ret <= 0)
257 break; 257 goto done;
258 wrlen += ret; 258 wrlen += ret;
259 ctx->copylen -= ret; 259 ctx->copylen -= ret;
260 in += ret; 260 in += ret;