diff options
Diffstat (limited to 'libtommath/bn_mp_exch.c')
-rw-r--r-- | libtommath/bn_mp_exch.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libtommath/bn_mp_exch.c b/libtommath/bn_mp_exch.c index 38574e0..738977a 100644 --- a/libtommath/bn_mp_exch.c +++ b/libtommath/bn_mp_exch.c @@ -18,14 +18,13 @@ /* swap the elements of two integers, for cases where you can't simply swap the * mp_int pointers around */ -void -mp_exch (mp_int * a, mp_int * b) +void mp_exch(mp_int * a, mp_int * b) { - mp_int t; + mp_int t; - t = *a; - *a = *b; - *b = t; + t = *a; + *a = *b; + *b = t; } #endif |