add space after keyword

This commit is contained in:
Francois Perrad 2017-08-29 18:50:19 +02:00
parent d6a9a58f64
commit d263dc727c
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ int mp_init_copy (mp_int * a, mp_int * b)
return res;
}
if((res = mp_copy(b, a)) != MP_OKAY) {
if ((res = mp_copy(b, a)) != MP_OKAY) {
mp_clear(a);
}

View File

@ -21,7 +21,7 @@ int mp_shrink (mp_int * a)
mp_digit *tmp;
int used = 1;
if(a->used > 0) {
if (a->used > 0) {
used = a->used;
}

View File

@ -66,7 +66,7 @@ int mp_sqrtmod_prime(mp_int *n, mp_int *prime, mp_int *ret)
/* find a Z such that the Legendre symbol (Z|prime) == -1 */
if ((res = mp_set_int(&Z, 2)) != MP_OKAY) goto cleanup;
/* Z = 2 */
while(1) {
while (1) {
if ((res = mp_jacobi(&Z, prime, &legendre)) != MP_OKAY) goto cleanup;
if (legendre == -1) break;
if ((res = mp_add_d(&Z, 1, &Z)) != MP_OKAY) goto cleanup;