Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-02-11 09:16:26 +0300
committerAdam Langley <agl@google.com>2015-02-11 22:31:01 +0300
commitc9a202fee3632be4cb133996993949bdec548035 (patch)
tree762e03c99e20e0ae1f2045117343766fd5690ab8 /crypto/cipher
parentefec193d27e81cc4d25d0b04c89d4d0c155fcccf (diff)
Add in missing curly braces part 1.
Everything before crypto/ec. Change-Id: Icbfab8e4ffe5cc56bf465eb57d3fdad3959a085c Reviewed-on: https://boringssl-review.googlesource.com/3401 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/cipher')
-rw-r--r--crypto/cipher/cipher_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/cipher/cipher_test.c b/crypto/cipher/cipher_test.c
index 2b04ad51..55db93ee 100644
--- a/crypto/cipher/cipher_test.c
+++ b/crypto/cipher/cipher_test.c
@@ -68,8 +68,9 @@ static void hexdump(FILE *f, const char *title, const uint8_t *s, int l) {
fprintf(f, "%s", title);
for (; n < l; ++n) {
- if ((n % 16) == 0)
+ if ((n % 16) == 0) {
fprintf(f, "\n%04x", n);
+ }
fprintf(f, " %02x", s[n]);
}
fprintf(f, "\n");
@@ -388,8 +389,9 @@ int main(int argc, char **argv) {
if (p[-1] == '\n') {
encdec = -1;
p[-1] = '\0';
- } else
+ } else {
encdec = atoi(sstrsep(&p, "\n"));
+ }
}
kn = convert(key);