Skip to content

Commit 536f29f

Browse files
authored
Merge pull request #14 from RUB-NDS/SetRandom
Added setRandom to RandomHelper
2 parents 6327357 + 2455060 commit 536f29f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/de/rub/nds/modifiablevariable/util/RandomHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public static BadRandom getBadSecureRandom() {
2828
return new BadRandom(getRandom(), null);
2929
}
3030

31+
public static void setRandom(Random random) {
32+
RandomHelper.random = random;
33+
}
34+
3135
private RandomHelper() {
3236
}
3337
}

0 commit comments

Comments
 (0)