[fpc-devel] Re: Cryptography class nedded ?

Jeff Pohlmeyer yetanothergeek at gmail.com
Fri Nov 18 16:12:39 CET 2005


> > 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





More information about the fpc-devel mailing list