final else after a chain of if/else if

This commit is contained in:
Francois Perrad 2019-05-14 18:49:27 +02:00
parent 62602414fb
commit 7395cc69c1
2 changed files with 5 additions and 3 deletions

View File

@ -29,8 +29,10 @@ mp_bool mp_reduce_is_2k(const mp_int *a)
iz = 1;
}
}
return MP_YES;
} else {
return MP_YES;
}
return MP_YES;
}
#endif

View File

@ -20,9 +20,9 @@ mp_bool mp_reduce_is_2k_l(const mp_int *a)
}
}
return (iy >= (a->used/2)) ? MP_YES : MP_NO;
} else {
return MP_NO;
}
return MP_NO;
}
#endif