Hello,

I use the Perl code below to contact a
transaction server.  It'll work fine if used
with any server __except__ the one I want
to use. When I try to contact tips.citicorp.de,
the program displays "Segmentation fault" and
coredumps after the Net_SSLeay debug ouput
of "SSL NEGOTIATION". Any ideas?


#!/usr/local/bin/perl -I/usr/home/medi01/Net_SSLeay.pm-1.03/blib/lib

print "Content-type: text/html\n\n";

use Net::SSLeay;

$Net::SSLeay::trace = 3;  # 0=no debugging, 1=ciphers, 2=trace, 3=dump
data

$clength=length(....message body goes here....);

$request = "POST /cgi-bin/ckshdl HTTP/1.0
Referer: http://medi01.bpaserver.net/cgi-bin/getc2.pl
Connection: Keep-Alive
User-Agent: Mozilla/4.04 [en] (Win 95; I)
Host: medi01.bpaserver.net
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8

Content-type: application/x-www-form-urlencoded
Content-length: $clength

....message body goes here.....";

$reply = Net::SSLeay::sslcat("tips.citicorp.de", "443", $request);

print $reply;

--
Johannes Schritz        Tel 06721-975234
Saarlandstraße 176      Fax 06721-47222
55411 Bingen            Mobil 0177-8799781
[EMAIL PROTECTED]     ICQ 2531515

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

Reply via email to