Hi, 

I hope someone can give me help on this.

After installing perl, openssl and Crypt::SSLeay I built a simple perl
program to connect to a web server that has *only* Transport Layer
Protocol (TLS V1) enabled, but I get a segmentation fault. 

The same program has no problem if connecting to a SSL V3 server.

This is the stack I use on Solaris 2.8: 

perl 5.005_03
OpenSSL 0.9.6g
Crypt:SSLeay 0.45

All these items were compiled by gcc 3.3.2.

Here is the code I try to execute:

#!/usr/local/bin/perl
   use LWP::UserAgent;
   use HTTP::Request::Common;

   $url = "https://<myserver>:<myport>/";

   $ua  = LWP::UserAgent->new;

   $res = $ua->request(GET $url);          # get the http response

   $http_res_string = $res->status_line;   # get http result

   print "\n http result: $http_res_string";

   $str = $res->as_string;                 # get html page
   print "\n$str";

   exit;


By inserting print statement here and there I saw that I get the
segmentation fault when executing the line:

$res = $ua->request(GET $url);



Any help gratly appreciated, thanks, 

    Marco 




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to