summaryrefslogtreecommitdiffstats
path: root/crypto/evp/encode.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-08-18 16:42:27 +0000
committerBodo Möller <bodo@openssl.org>1999-08-18 16:42:27 +0000
commit6e4a3b5529613d2d0f4ae246f4f8fd7d2b8aa536 (patch)
treecd80edf274ea99563c4819dc7f5db652294abea9 /crypto/evp/encode.c
parentc6c3450643ea00fde94e7f7471c9f134ec7d63b4 (diff)
Really undo the base64 change so that make test survives
Diffstat (limited to 'crypto/evp/encode.c')
-rw-r--r--crypto/evp/encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index c532a18eeb..0152624a76 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -291,7 +291,7 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
/* If we are at the end of input and it looks like a
* line, process it. */
- if (((i+1) == inl) && (eof))
+ if (((i+1) == inl) && (((n&3) == 0) || eof))
v=B64_EOF;
if ((v == B64_EOF) || (n >= 64))