[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Viktor Dukhovni
viktor at openssl.org
Sat Sep 19 13:09:43 UTC 2015
The branch OpenSSL_1_0_2-stable has been updated
via 8748519f64735a9753b7791bb5e08a28ac7bdc94 (commit)
from 6be18a22199de4d114b53686c31ba02723fc2c18 (commit)
- Log -----------------------------------------------------------------
commit 8748519f64735a9753b7791bb5e08a28ac7bdc94
Author: Viktor Dukhovni <openssl-users at dukhovni.org>
Date: Fri Sep 18 21:15:42 2015 -0400
Fix indentation
Reviewed-by: Richard Levitte <levitte at openssl.org>
(cherry picked from commit 4fe1cbdff89768c5d1983988ce1022674a438bbb)
-----------------------------------------------------------------------
Summary of changes:
crypto/evp/encode.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index 3005560..c6abc4a 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;
More information about the openssl-commits
mailing list