Commit b96d82dff77ee7373b238e2ee2773697f47ba2ce

Steffen Jaeckel 2019-05-18T10:00:26

Merge pull request #264 from libtom/rand-test-bugfix bugfix: don't revert to platform rand source, but to jenkins source!

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/demo/test.c b/demo/test.c
index 4e5339e..5ffc908 100644
--- a/demo/test.c
+++ b/demo/test.c
@@ -129,7 +129,7 @@ static int test_mp_rand(void)
          break;
       }
    }
-   mp_rand_source(NULL);
+   mp_rand_source(s_mp_rand_jenkins);
    mp_clear_multi(&a, &b, NULL);
    return err == MP_OKAY ? EXIT_SUCCESS : EXIT_FAILURE;
 }