Fix indentation
authorViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 19 Sep 2015 01:15:42 +0000 (21:15 -0400)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 19 Sep 2015 13:10:38 +0000 (09:10 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 4fe1cbdff89768c5d1983988ce1022674a438bbb)

crypto/evp/encode.c

index 3005560ede3f46e47f052ab9224c9d5e5f662d3f..c6abc4ae8e47b00d113fdbcdd3776a6be4f83e1d 100644 (file)
@@ -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;