summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/bio_b64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/bio_b64.c')
-rw-r--r--src/lib/libcrypto/evp/bio_b64.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/bio_b64.c b/src/lib/libcrypto/evp/bio_b64.c
index 53b8bcf615..b54e8793ec 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.19 2014/07/11 12:04:46 miod Exp $ */ 1/* $OpenBSD: bio_b64.c,v 1.20 2015/02/07 13:19:15 doug 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 *
@@ -293,11 +293,7 @@ b64_read(BIO *b, char *out, int outl)
293 if (BIO_get_flags(b) & BIO_FLAGS_BASE64_NO_NL) { 293 if (BIO_get_flags(b) & BIO_FLAGS_BASE64_NO_NL) {
294 int z, jj; 294 int z, jj;
295 295
296#if 0
297 jj = (i >> 2) << 2;
298#else
299 jj = i & ~3; /* process per 4 */ 296 jj = i & ~3; /* process per 4 */
300#endif
301 z = EVP_DecodeBlock((unsigned char *)ctx->buf, 297 z = EVP_DecodeBlock((unsigned char *)ctx->buf,
302 (unsigned char *)ctx->tmp, jj); 298 (unsigned char *)ctx->tmp, jj);
303 if (jj > 2) { 299 if (jj > 2) {