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  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


P Davidson

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to