projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e008d1b
)
Fix indentation
author
Viktor Dukhovni
<openssl-users@dukhovni.org>
Sat, 19 Sep 2015 01:15:42 +0000
(21:15 -0400)
committer
Viktor Dukhovni
<openssl-users@dukhovni.org>
Sat, 19 Sep 2015 13:04:16 +0000
(09:04 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/evp/encode.c
patch
|
blob
|
history
diff --git
a/crypto/evp/encode.c
b/crypto/evp/encode.c
index 36affe56261d281594a522d9ea3fb3e63b1254d7..ccfd84b7a819577c40aa161a8dec3ed596415080 100644
(file)
--- 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;