run `make astyle`
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/bn_mp_clear.c b/bn_mp_clear.c
index b8e724c..9b8a233 100644
--- a/bn_mp_clear.c
+++ b/bn_mp_clear.c
@@ -25,7 +25,7 @@ void mp_clear(mp_int *a)
}
/* free ram */
- XFREE(a->dp, sizeof (mp_digit) * (size_t)a->alloc);
+ XFREE(a->dp, sizeof(mp_digit) * (size_t)a->alloc);
/* reset members to make debugging easier */
a->dp = NULL;
diff --git a/bn_mp_grow.c b/bn_mp_grow.c
index b120194..db1d06e 100644
--- a/bn_mp_grow.c
+++ b/bn_mp_grow.c
@@ -30,7 +30,7 @@ int mp_grow(mp_int *a, int size)
* to overwrite the dp member of a.
*/
tmp = (mp_digit *) XREALLOC(a->dp,
- (size_t)a->alloc * sizeof (mp_digit),
+ (size_t)a->alloc * sizeof(mp_digit),
(size_t)size * sizeof(mp_digit));
if (tmp == NULL) {
/* reallocation failed but "a" is still valid [can be freed] */
diff --git a/bn_mp_shrink.c b/bn_mp_shrink.c
index fa30184..04c88e3 100644
--- a/bn_mp_shrink.c
+++ b/bn_mp_shrink.c
@@ -24,7 +24,7 @@ int mp_shrink(mp_int *a)
if (a->alloc != used) {
if ((tmp = (mp_digit *) XREALLOC(a->dp,
- (size_t)a->alloc * sizeof (mp_digit),
+ (size_t)a->alloc * sizeof(mp_digit),
(size_t)used * sizeof(mp_digit))) == NULL) {
return MP_MEM;
}