Article View: borland.public.cppbuilder.internet.socket
Article #126Re: Indy and SSL
From: Oleg Tiktinski
Date: Wed, 28 May 2008 21:33
Date: Wed, 28 May 2008 21:33
48 lines
2369 bytes
2369 bytes
I am using BCB2007 ( or CodeGear 2007 C++ Builder), Indy10 and I can't find IdSSLOpenSSLHeaders.Load(); there is file IdSSLOpenSSLHeaders.hpp, but I don't see Load anywhere there. :( Remy Lebeau (TeamB) wrote: > "Oleg Tiktinski" <oleg@sequoiars.com> wrote in message > news:483cc31b$1@newsgroups.borland.com... > >> I am using Indy tcp client with SSL > > Which version of Indy are you using? > >> I did some research and find out that on first use >> Indy call LoadSSLLibrary function > > There is no LoadSSLLibrary() function in Indy. There is a Load() function > in the IdSSLOpenSSLHeaders unit, though. > >> which do tons of work and slow things down. > > Indy dynamically loads each WinSock DLL function on an as-needed basis. I > do not know why Indy never did the same thing with the SSL functions. Most > likely to make sure that they are all available before allowing any SSL code > to run. > >> Did anyone else had this issue ? Any workaround ? > > There is no workaround without re-writing how Indy loads the SSL functions > internally. > >> Problem is that I can't call this function directly > > Yes, you can. The IdSSLOpenSSLHeaders.Load() function is publically > accessible. > >> I have to make FAKE SSL connection in order for Indy to call >> LoadSSLLibrary. > > No, you don't. > > > Gambit > >
Technical Details
Message-ID:
<483dcfae$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<483cc31b$1@newsgroups.borland.com> <483daa9d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a02f5e13cae23a18 X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 28 May 2008 14:33:36 -0700 From: Oleg Tiktinski <oleg@sequoiars.com> User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Indy and SSL References: <483cc31b$1@newsgroups.borland.com> <483daa9d$1@newsgroups.borland.com> In-Reply-To: <483daa9d$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.4.183.142 Message-ID: <483dcfae$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1212010414 69.4.183.142 (28 May 2008 14:33:34 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail