🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Indy10 IdSSLOpenSSLHeaders.hpp (reworded)

#226
From: Jef Verheyden
Date: Tue, 17 Jun 2008 12:08
43 lines
2210 bytes
Jef Verheyden schreef:
> Tharun Pillay schreef:
>> Ok, that last post was a garbled mess. Let me retry:
>>
>> I've upgraded my Indy 10 to 10.2.3 - the latest development snapshot. 
>> The reason for this was that I was recieving "Read Timeout" upon 
>> trying to connect to an SSL server.
>>
>> Since having done this, the compiler is throwing an error:
>> [BCC32 Error] Idsslopensslheaders.hpp(1466): E2275 { expected
>>
>> The line in teh file is:
>> [Line# 1466] struct X509_NAME;
>>
>> I am running BDS2007 with the September and December updates.
>>
>> Please could someone help.
>>
>> Thanks in advance,
>> T
> 
> I'm having the same problem but then in bcb6.
> Is there a quick fix?
> 
> Kind regards,
> Jef
> 

Ok i seem to have fixed the issue.
The problem arises because of a #DEFINE X509_NAME in wincrypt.h in 
borland c++ builder.

By renaming X509_NAME in the idSSLopenSSLheads.pas to X509_NAME_1 it was 
solved,
I also had to do this for PKCS7_SIGNER_INFO_1.

I don't know what the consequences of this will be for the moment, but 
compilation works and that's a first step.

Maybe something to look into for the indy programmers.

Greetings,
Jef
Technical Details
Message-ID: <4857a994$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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: <47aaf8c6$1@newsgroups.borland.com> <4857a0f3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a56498d416cea5a2
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 17 Jun 2008 14:08:12 +0200
From: Jef Verheyden <junk@periskal.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Indy10 IdSSLOpenSSLHeaders.hpp (reworded)
References: <47aaf8c6$1@newsgroups.borland.com> <4857a0f3$1@newsgroups.borland.com>
In-Reply-To: <4857a0f3$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.241.254.61
Message-ID: <4857a994$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1213704596 81.241.254.61 (17 Jun 2008 05:09:56 -0700)
Lines: 43
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.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