You are not logged in.
Pages: 1
Hi,
Today I downloaded the daily snapshot and detected an error while trying to compile.
The error occurred on line 39819>
TAESPRNG.Main.Fill (@ fSessionCounter, SizeOf (fSessionCounter));
If you comment the line, pass.
Offline
With which compiler and for which target?
I don't have problem here with Delphi or FPC to Win32/Win64/BSDi386/BSDx64/Linuxi386/Linuxx64/LinuxArm/LinuxAArch64.
I suspect you may have several incompatible versions of SynCrypto.pas in your IDE path. Check you don't have any SynPDF setup somewhere.
Offline
Hi ab
I tested on Delphi Rio
To be more exact, the error occurs in the procedure TAESPRNG.Seed; in SynCrypto.pas
procedure TAESPRNG.Seed;
var key: THash512Rec;
entropy: RawByteString;
begin
try
entropy := GetEntropy(128); // 128 bytes is the HMAC_SHA512 key block size
PBKDF2_HMAC_SHA512(entropy,ExeVersion.User,fSeedPBKDF2Rounds,key.b); //<< In this line!
fSafe^.Lock;
try
I made sure I don't have incompatible versions
Offline
I compiled latest trunk with Delphi Rio on Win32 and Win64 with no problem.
I guess you should better check twice your setup.
What is the exact compilation error message reported on your side?
Offline
Pages: 1