[fpc-pascal] Lazarus 2.0.10 FPC 3.2.0 TFPHTTPClient no longer supports https

Michael Van Canneyt michael at freepascal.org
Tue Aug 4 19:41:00 CEST 2020



On Wed, 5 Aug 2020, Dennis wrote:

> After upgrading to Lazarus 2.0.10 FPC 3.2.0 , my existing code using 
> TFPHTTPClient.Get('https://api.telegram.org/bot')
> returns the error "No SSL Socket support compiled in"
>
> How can I fix it?

Simply add one of the units opensslsockets or gnutlssockets to the uses
clause of the program.

You now have the choice between using openssl or gnutls for your SSL
support..

Michael.


More information about the fpc-pascal mailing list