Ahmad,

ahmad hassan wrote:
> Hello,
> Yes you are right the libeay32.lib and ssleay32.lib will do the trick
> but i wanted to do it the way i had been using it. I need a little help

I started to go this route too, but it got ugly in a hurry.  You really
need to track down and include all the individual files you need for a
specific functionality offered by OpenSSL.  You'll need to add the
source directories (OpenSSL-0.9.7g, openssl-0.9.7g/crypto,
0.9.7g/ssl...and on and on) and then add all the needed *.c files...
(and of course those paths will change from machine to machine and
version to version....)

Then I though about compatibility with future versions and decided to
just use the nice tools OpenSSL gave me.  The fact that I was trying to
maintain some code someone else wrote that had already pulled in a few
files from OpenSSL made the problem clear to me pretty quickly.  Some
low-level functions had changed parameters and types.  It was painful
updating.  Using the higher level functions from the library will be
much simpler to maintain.

> regarding that and the link error to get resolved. I also would like to
> ask you a little question if i am a client and using opensssl 0.9.7d and
> server is using new lib i.e. openssl 0.9.7g would there be issuses

I don't know about the versions being compatible, but why risk it?
Also, there are more (security) reasons to upgrade to the latest version.

> arising or they are backward compatible. I am actually using it for ftp
> over ssl. It shouldn't happen that application hangs for some SSL_Read etc.

Do you want to spend time debugging OpenSSL version compatibility
issues, or writing your application?  I'd recommend getting everyone up
on the same version, just for your sanity.  Especially if you have
control over the environments.

I'm sure some long-time users can discuss the compatibility details, but
that's my own personal feeling about using different versions together...


Sean

> 
> Regards,
> Ahmad.
> 
>> From: Sean Covel <[EMAIL PROTECTED]>
>> Reply-To: openssl-users@openssl.org
>> To: openssl-users@openssl.org
>> CC: [EMAIL PROTECTED]
>> Subject: Re: Problem in compiling openssl 0.9.7g on Windows
>> Date: Thu, 05 May 2005 10:03:37 -0400
>>
>> Can't you just include libeay32.lib and ssleay32.lib in your project as
>> additional libraries?  The you just need to add the path to those libs
>> and you're done.
>>
>> I looked at the project on that site and its old, and all it does is
>> compile the libraries in the VC++ GUI, instead of using the nice scripts
>> provided by OpenSSL.  What's the point?
>>
>> Sean
>>
>> ahmad hassan wrote:
>> > Hello,
>> > What's the matter. Nobody is doing what is mentioned below or people
>> > don't reply back on this group.
>> >
>> > Thank You.
>> >
>> >> From: "ahmad hassan" <[EMAIL PROTECTED]>
>> >> Reply-To: openssl-users@openssl.org
>> >> To: openssl-users@openssl.org
>> >> CC: [EMAIL PROTECTED]
>> >> Subject: Problem in compiling openssl 0.9.7g on Windows
>> >> Date: Tue, 03 May 2005 16:20:38 +0500
>> >>
>> >> Hello,
>> >> I am trying to build openssl 0.9.7g on windows, which i was
>> >> successfully able to do using steps mentioned in INSTALL.W32 file. Now
>> >> i would like to include libeay32 and ssleay32 source code as a
>> >> workspace in my Visual C++ 6.0 project. For that i went to
>> >> http://www.openssl.org/related/ and the second link gave me the dsp to
>> >> use and compile openssl source code through vc++ environment.
>> >>
>> >> It is actually so that i had openssl 0.9.7d with me which i downloaded
>> >> a year ago and compiled it using this visual studio project file but
>> >> now it is not compiling with the latest version giving me messages
>> >> like this.
>> >>
>> >> There is some problem with proxy certifiactes thing.
>> >> How do i reslove these errors. Some are just defined in the
>> >> libeay32.def file which i removed but
>> >> PROXY_CERT_INFO_EXTENSION_free is not declared anywhere and is being
>> >> used in number of places like openssl-0.9.7g\crypto\x509\x509_vfy.c
>> etc.
>> >>
>> >> Can anyone guide me or give me related information regarding how to
>> >> include latest openssl version as workspace in my project.
>> >>
>> >>
>> >> --------------------Configuration: libeay32 - Win32
>> >> Debug--------------------
>> >> Linking...
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> PROXY_CERT_INFO_EXTENSION_free
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> PROXY_CERT_INFO_EXTENSION_it
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> PROXY_CERT_INFO_EXTENSION_new
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> PROXY_POLICY_free
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> PROXY_POLICY_it
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> PROXY_POLICY_new
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> d2i_PROXY_CERT_INFO_EXTENSION
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> d2i_PROXY_POLICY
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> >> i2d_PROXY_CERT_INFO_EXTENSION
>> >> libeay32.def : error LNK2001: unresolved external symbol
>> i2d_PROXY_POLICY
>> >> ..\..\out32dll\Debug/libeay32.lib : fatal error LNK1120: 10 unresolved
>> >> externals
>> >> LINK : fatal error LNK1141: failure during build of exports file
>> >> Error executing link.exe.
>> >>
>> >> libeay32.dll - 12 error(s), 0 warning(s)
>> >> --------------------Configuration: libeay32 - Win32
>> >> Debug--------------------
>> >>
>> >> _________________________________________________________________
>> >> Express yourself instantly with MSN Messenger! Download today it's
>> >> FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>> >>
>> >> ______________________________________________________________________
>> >> OpenSSL Project                                 http://www.openssl.org
>> >> User Support Mailing List                    openssl-users@openssl.org
>> >> Automated List Manager                           [EMAIL PROTECTED]
>> >
>> >
>> > _________________________________________________________________
>> > Don't just search. Find. Check out the new MSN Search!
>> > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>> >
>> > ______________________________________________________________________
>> > OpenSSL Project                                 http://www.openssl.org
>> > User Support Mailing List                    openssl-users@openssl.org
>> > Automated List Manager                           [EMAIL PROTECTED]
>> >
>> ______________________________________________________________________
>> OpenSSL Project                                 http://www.openssl.org
>> User Support Mailing List                    openssl-users@openssl.org
>> Automated List Manager                           [EMAIL PROTECTED]
> 
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to