RND: use more appropriate error macro

This commit is contained in:
hasufell 2014-06-05 22:16:55 +02:00
parent 46c93c5c7b
commit 9d46af710f
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -90,8 +90,7 @@ ntru_get_rnd_tern_poly_num(fmpz_poly_t poly,
int (*rnd_int)(void)) int (*rnd_int)(void))
{ {
if (!poly || ! params) if (!poly || ! params)
NTRU_ABORT("unexpected NULL parameters in" NTRU_ABORT_DEBUG("unexpected NULL parameters");
"ntru_get_rnd_tern_poly_num()!\n");
fmpz_poly_zero(poly); fmpz_poly_zero(poly);