summaryrefslogtreecommitdiffstats
path: root/crypto/evp/encode.c
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2015-09-18 21:15:42 -0400
committerViktor Dukhovni <openssl-users@dukhovni.org>2015-09-19 09:04:16 -0400
commit4fe1cbdff89768c5d1983988ce1022674a438bbb (patch)
treec396cfda3dbb74eda1c45f119f1901e090853b83 /crypto/evp/encode.c
parente008d1b2672f0ab6d64ab1afd20a903678bd8ed2 (diff)
Fix indentation
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/evp/encode.c')
-rw-r--r--crypto/evp/encode.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index 36affe5626..ccfd84b7a8 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -344,13 +344,13 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
tail:
if (n > 0) {
if ((n & 3) == 0) {
- decoded_len = EVP_DecodeBlock(out, d, n);
- n = 0;
- if (decoded_len < 0 || eof > decoded_len) {
- rv = -1;
- goto end;
- }
- ret += (decoded_len - eof);
+ decoded_len = EVP_DecodeBlock(out, d, n);
+ n = 0;
+ if (decoded_len < 0 || eof > decoded_len) {
+ rv = -1;
+ goto end;
+ }
+ ret += (decoded_len - eof);
} else if (seof) {
/* EOF in the middle of a base64 block. */
rv = -1;