1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Some kernels have frandom and erandom

When a users kernel has frandom and erandom this would cause the whole app to crash.

When using erandom the system doesn't use any entropy at all.
This commit is contained in:
blackbox87 2013-08-26 17:56:44 +01:00 committed by Jesse Vincent
parent 87cac74300
commit fbe62c544e

View File

@ -215,8 +215,7 @@ public final class PRNGFixes {
out.flush();
mSeeded = true;
} catch (IOException e) {
throw new SecurityException(
"Failed to mix seed into " + URANDOM_FILE, e);
mSeeded = true;
}
}