[fpc-pascal] HMAC_SHA1 and FPC

silvioprog silvioprog at gmail.com
Tue Mar 26 05:23:42 CET 2013


2013/3/26 Anthony Walter <sysrpl at gmail.com>

> On Mon, Mar 25, 2013 at 11:24 PM, silvioprog <silvioprog at gmail.com> wrote:
>
>> Nice.
>>
>> But there situations that the user does not have the OpenSSL lib.
>>
>> The routines I sent does not depend on external libs.
>>
>> --
>> Silvio Clécio
>> My public projects - github.com/silvioprog
>>
>
> It's possible to build static lib files for Win 32 and 64 on Linux.
>
> ...  download the sources from here http://www.openssl.org/source/ then
> ...
>
> sudo apt-get install mingw-w64
>
> ... goto the OpenSSL source directory and ...
>
> CROSS_COMPILE="i686-w64-mingw32-" ./Configure mingw64 no-asm shared
> make
> CROSS_COMPILE="x86_64-w64-mingw32-" ./Configure mingw64 no-asm shared
> make
>
> ... and copy libcrypto.a and libssl.a to a FPC lib path ...
>
>  Now you can compile for Win 32/64 using OpenSSL static lib files.
>

o.o'

Don't know why so much work if you can use it directly from the FCL.

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130326/14512fc5/attachment.html>


More information about the fpc-pascal mailing list