summaryrefslogtreecommitdiffstats
path: root/crypto/evp
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:09:14 -0400
commit8748519f64735a9753b7791bb5e08a28ac7bdc94 (patch)
tree109c28e1becd8e1b7526410c53b901614d937f21 /crypto/evp
parent6be18a22199de4d114b53686c31ba02723fc2c18 (diff)
Fix indentation
Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit 4fe1cbdff89768c5d1983988ce1022674a438bbb)
Diffstat (limited to 'crypto/evp')
-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 3005560ede..c6abc4ae8e 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;