From cf807537646dcd419ec151e160ee2e84fd65571a Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sat, 6 Apr 2019 17:37:48 +0200 Subject: [PATCH] run `make astyle` --- bn_mp_clear.c | 2 +- bn_mp_grow.c | 2 +- bn_mp_shrink.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; }