bouncycastle/ambiguous-reseed.patch

12 lines
475 B
Diff

--- bcprov-jdk15on-158/src/org/bouncycastle/jcajce/provider/drbg/DRBG.java 2017-09-15 09:12:43.611044610 +0200
+++ bcprov-jdk15on-158/src/org/bouncycastle/jcajce/provider/drbg/DRBG.java 2017-09-15 09:13:03.059044684 +0200
@@ -259,7 +259,7 @@
if (seedAvailable.getAndSet(false))
{
samples.set(0);
- drbg.reseed(null);
+ drbg.reseed((byte[])null);
}
}