Hello,

I'm trying to use openssl on new server with 1.0.0 version
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
does synapse supports this version? I'm getting an error on simple program

program test;
uses classes, sysutils, httpsend, ssl_openssl, blcksock;

var url: string;
     http: THTTPSend;
     res: TStringStream;
begin

   url := 'https://www.google.com';
   http := THTTPSend.Create;
   http.sock.SSL.SSLType:= LT_SSLv3;
   http.Sock.SSL.VerifyCert := false;
   http.Timeout := 10 * 1000;
   res := TStringStream.create('');
   if http.HTTPMethod('GET',url) or true then
   begin
     res.CopyFrom(http.Document, http.Document.size);
     WriteLn(res.DataString);
     WriteLn(http.ResultCode);
   end;
   http.free;
end.

I'm getting result code 500


Brona



------------------------------------------------------------------------------
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to