summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/evp/bio_b64.c5
-rw-r--r--src/lib/libssl/src/crypto/evp/bio_b64.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/bio_b64.c b/src/lib/libcrypto/evp/bio_b64.c
index 632d056168..53b8bcf615 100644
--- a/src/lib/libcrypto/evp/bio_b64.c
+++ b/src/lib/libcrypto/evp/bio_b64.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_b64.c,v 1.18 2014/07/11 08:44:48 jsing Exp $ */ 1/* $OpenBSD: bio_b64.c,v 1.19 2014/07/11 12:04:46 miod Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -224,7 +224,8 @@ b64_read(BIO *b, char *out, int outl)
224 /* ctx->start=1; */ 224 /* ctx->start=1; */
225 ctx->tmp_len = 0; 225 ctx->tmp_len = 0;
226 } else if (ctx->start) { 226 } else if (ctx->start) {
227 q = p=(unsigned char *)ctx->tmp; 227 q = p =(unsigned char *)ctx->tmp;
228 num = 0;
228 for (j = 0; j < i; j++) { 229 for (j = 0; j < i; j++) {
229 if (*(q++) != '\n') 230 if (*(q++) != '\n')
230 continue; 231 continue;
diff --git a/src/lib/libssl/src/crypto/evp/bio_b64.c b/src/lib/libssl/src/crypto/evp/bio_b64.c
index 632d056168..53b8bcf615 100644
--- a/src/lib/libssl/src/crypto/evp/bio_b64.c
+++ b/src/lib/libssl/src/crypto/evp/bio_b64.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_b64.c,v 1.18 2014/07/11 08:44:48 jsing Exp $ */ 1/* $OpenBSD: bio_b64.c,v 1.19 2014/07/11 12:04:46 miod Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -224,7 +224,8 @@ b64_read(BIO *b, char *out, int outl)
224 /* ctx->start=1; */ 224 /* ctx->start=1; */
225 ctx->tmp_len = 0; 225 ctx->tmp_len = 0;
226 } else if (ctx->start) { 226 } else if (ctx->start) {
227 q = p=(unsigned char *)ctx->tmp; 227 q = p =(unsigned char *)ctx->tmp;
228 num = 0;
228 for (j = 0; j < i; j++) { 229 for (j = 0; j < i; j++) {
229 if (*(q++) != '\n') 230 if (*(q++) != '\n')
230 continue; 231 continue;