[fpc-devel] Re: Cryptography class nedded ?

Paul Davidson pdavidson at coraxnetworks.com
Fri Nov 18 17:22:10 CET 2005


Thanks :)

On Nov 18, 2005, at 10:12, Jeff Pohlmeyer wrote:

>
>>> Did some work getting SSL working for FPC.  Attached is unit that
>>> exposes most of the functions required.  Tested with Darwin and 
>>> Linux.
>
>> What about putting it in packages/extra? OpenSSL is quite common.
>
>
> Just for kicks, I tried linking on windows with ssleay32.dll, but
> apparently the crypto* functions don't show up in my DLL.
>
> However, I did find a typo on line 142 of cSSL.pas:
>
> procedure CryptoCleanupAllExData; cdecl; external'crypto' name 
> 'CRYPTO_cleanup_all_ex_data';
>
>
> Should be:
>
> procedure CryptoCleanupAllExData; cdecl; external Crypto name 
> 'CRYPTO_cleanup_all_ex_data';
>
> ( Use the const name instead of the literal )
>
>
>
>  - Jeff
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
P Davidson




More information about the fpc-devel mailing list