diff options
| author | J08nY | 2017-12-17 20:16:16 +0100 |
|---|---|---|
| committer | J08nY | 2017-12-17 22:55:45 +0100 |
| commit | 878bd3fb19c5f876c6852ca5274186850b3c189f (patch) | |
| tree | 172c60b0cd9190ff539e57e2d506598663bc604d /test/src/exhaustive | |
| parent | 04237935d3577eed75efaf0e2fec69e1cdad35e4 (diff) | |
| download | ecgen-feature/brainpool-algo.tar.gz ecgen-feature/brainpool-algo.tar.zst ecgen-feature/brainpool-algo.zip | |
Diffstat (limited to 'test/src/exhaustive')
| -rw-r--r-- | test/src/exhaustive/test_brainpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/exhaustive/test_brainpool.c b/test/src/exhaustive/test_brainpool.c index d5fefe2..80c11e3 100644 --- a/test/src/exhaustive/test_brainpool.c +++ b/test/src/exhaustive/test_brainpool.c @@ -75,7 +75,7 @@ Test(brainpool, test_brainpool_field) { int ret = brainpool_gen_field(&curve, NULL, OFFSET_FIELD); cr_assert_eq(ret, 1, ); cr_assert_not_null(curve.field, ); - cr_assert(isprime(curve.field), ); + cr_assert(isprime(gcopy(curve.field)), ); cr_assert_eq(mod4(curve.field), 3, ); } |
