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

Dennis dec12 at avidsoft.com.hk
Wed Aug 5 09:42:23 CEST 2020


Michael Van Canneyt wrote:
> 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.
>
I added gnutlssockets  but when calling Get, i got this error:

Could not load library: libgnutls.so

Please help.

Dennis Poon


-- 
This email has been checked for viruses by AVG.
https://www.avg.com



More information about the fpc-pascal mailing list