Background:I am working on an encryption application, i have the app written in Objective C and now i want to rewrite it in pascal so that it runs on windows. I am using pascal as it is a language i already know and lazarus as it is a free IDE
Question: How do i use the BigNum module from openSSL in lazarus, i have downloaded this unit: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/openssl/src/
and i've put it in
uses openssl;
However when i try and declare a BIGNUM
procedure Tform3.Button1Click(Sender: TObject);
var bits:integer;
p:BIGNUM;
begin
bits:=512;
p:=BN_new();
BN_generate_prime(p, bits, FALSE, NULL, NULL, NULL, NULL);
end;
I just get an error: Error: Identifier not found "BIGNUM"
How do i use the BigNum module and the BN_generate prime(module)?