🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1831

Re: Exception class EIdOSSLCouldNotLoadSSLLibrary (Indy 9.0.50)

#1831
From: Hans Galema
Date: Mon, 09 Oct 2006 17:54
40 lines
2322 bytes
Remy Lebeau (TeamB) wrote:

> Which article are you referring to?

<quote from op>
The German magazine 'Der Entwickler' 6.06 offers some exercises with
OpenSLL for C++Builder. I use Turbo C++ Explorer with Indy 9.0.50.
</quote from op>

> From what I can tell from the code you shown, all it is trying to do is
> connect to the server in order to obtain certificate information.  It is not
> actually requesting any pages from the server.  Is that what you are trying
> to accomplish? 

Yes. Yes. Yes.

> If you want to download an actual page, then the code should
> look more like the following instead:

Ok. Thanks.

> Why are you instantiating those in code instead of dropping them onto the
> form at design-time?

I have to: Using Turbo C++ Explorer.

>     catch(const EIdOSSLCouldNotLoadSSLLibrary &)
>     {
>         Memo1->Lines->Add("SSL Error:");
>         Memo1->SelStart = Memo1->GetTextLen();
>         Memo1->SelText = WhichFailedToLoad();
>     }

Thanks.

FYI: In the next edition of Der Entwickler there will be an example
of how to tunnel trough a proxy with OpenSSL. Indy 9 would not be able
to do that. One would need nonblocking sockets also.

Hans.
Technical Details
Message-ID: <452a8d22@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <452638cc$1@newsgroups.borland.com> <4526ae80$1@newsgroups.borland.com> <452a5f9e@newsgroups.borland.com> <452a7fe7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,997613c5798fd0ad
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 09 Oct 2006 19:54:28 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Exception class EIdOSSLCouldNotLoadSSLLibrary (Indy 9.0.50)
References: <452638cc$1@newsgroups.borland.com> <4526ae80$1@newsgroups.borland.com> <452a5f9e@newsgroups.borland.com> <452a7fe7$1@newsgroups.borland.com>
In-Reply-To: <452a7fe7$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <452a8d22@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160416546 145.98.201.248 (9 Oct 2006 10:55:46 -0700)
Lines: 40
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail