Update Renegade.Random.URandom.pas
This commit is contained in:
parent
fbc9aa0ca6
commit
4f09e7deb6
|
@ -102,7 +102,6 @@ begin
|
|||
begin
|
||||
if FileExists('/dev/urandom') then
|
||||
begin
|
||||
Writeln('URandom');
|
||||
Buffer := TFileStream.Create('/dev/urandom', fmOpenRead);
|
||||
Buffer.Position := 0;
|
||||
ReadBytes := 0;
|
||||
|
@ -115,7 +114,6 @@ begin
|
|||
end
|
||||
else if (not FileExists('/dev/udrandom')) then
|
||||
begin
|
||||
Writeln('Random');
|
||||
RandomByteBuffer := MTRandomBytes((NBytes*2));
|
||||
end else
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue