Hi,
I dont think that is the problem. I've configured and built my 64-bit client on a 64-bit system. My 32-bit server is our release product that has been around for about a year, so i'm pretty sure thats ok.
Is it likely that the client and server versions are incompatible? my server is fixed at 0.9.6c, and my client is the latest release 0.9.7b. Is is possible that the older version is not compatible with the new?
Darren
-----Original Message-----
From: Gotz Babin-Ebell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 03, 2003 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: 64-bit vs 32-bit systems
Hello,
[EMAIL PROTECTED] wrote:
> 64-bit vs 32-bit systems
>
> It looks to me like a 64-bit client cant connect to a 32-bit server.
> The ASN1 structures/headers have int's and longs scattered throughout
> them (and probably in other parts of the openssl libraries). In fact,
> the 32-bit server fails to recieve a connection with the error "bad asn1
> object header".
That are 2 different kind of shoes.
Structures and headers are not direct related to the data
on the wire..
I think you have configured on a 32 bit system
and build on a 64 bit system,
or build the library on a 32 bit system and your program
on a 64 bit system...
> My question is, how self contained is this software. Could the longs be
> replace by ints to keep the structures the same size on both systems?
Why ?
You need the headers only if you build a program.
And you shouldn't link a openssl build on a 32 bit system
with a program build on a 64 bit system...
> Has this issue been discusses before?
AFAIK not.
perhaps openssl should migrate to the types defined in stding.h ?
But that comes with ISO C99, so an fallback should be supported...
Bye
Goetz
--
Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
