diff options
author | David Benjamin <davidben@chromium.org> | 2015-02-11 09:17:18 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-02-12 02:14:04 +0300 |
commit | 9ab14e00d5f9a1c9847137f1d6f776e18f59048b (patch) | |
tree | 964acd8953118a55c0ef4e7e8a879844fb5a4f6f /crypto/ec/ec.c | |
parent | 3673be7cb6611b373b9b1200999827a9b8df37a1 (diff) |
Add in missing curly braces part 2.
ECC code.
Change-Id: I1a960620edbb30e10dcbab0e8053a1deb9db3262
Reviewed-on: https://boringssl-review.googlesource.com/3402
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/ec/ec.c')
-rw-r--r-- | crypto/ec/ec.c | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/crypto/ec/ec.c b/crypto/ec/ec.c index f9d8dc5b..30f93461 100644 --- a/crypto/ec/ec.c +++ b/crypto/ec/ec.c @@ -357,22 +357,30 @@ err: EC_GROUP_free(group); group = NULL; } - if (P) + if (P) { EC_POINT_free(P); - if (ctx) + } + if (ctx) { BN_CTX_free(ctx); - if (p) + } + if (p) { BN_free(p); - if (a) + } + if (a) { BN_free(a); - if (b) + } + if (b) { BN_free(b); - if (order) + } + if (order) { BN_free(order); - if (x) + } + if (x) { BN_free(x); - if (y) + } + if (y) { BN_free(y); + } return group; } |