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:
74c1dc9
)
crypto/ofb128.c: make it indent-friendly.
author
Andy Polyakov
<appro@openssl.org>
Wed, 21 Jan 2015 15:51:06 +0000
(16:51 +0100)
committer
Matt Caswell
<matt@openssl.org>
Thu, 22 Jan 2015 09:45:15 +0000
(09:45 +0000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/modes/ofb128.c
patch
|
blob
|
history
diff --git
a/crypto/modes/ofb128.c
b/crypto/modes/ofb128.c
index c732e2ec58e3a138cdcd40842cc64f592f899ed0..bb1d7796b0a5233338e877dfc056f566d6d61e6e 100644
(file)
--- a/
crypto/modes/ofb128.c
+++ b/
crypto/modes/ofb128.c
@@
-83,7
+83,8
@@
void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
n = *num;
#if !defined(OPENSSL_SMALL_FOOTPRINT)
- if (16%sizeof(size_t) == 0) do { /* always true actually */
+ if (16%sizeof(size_t) == 0) { /* always true actually */
+ do {
while (n && len) {
*(out++) = *(in++) ^ ivec[n];
--len;
@@
-112,7
+113,8
@@
void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out,
}
*num = n;
return;
- } while(0);
+ } while(0);
+ }
/* the rest would be commonly eliminated by x86* compiler */
#endif
while (l<len) {