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:
parent
87cac74300
commit
fbe62c544e
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user