libeay32.dll / ssleay32.dll origin ?

libeay32.dll / ssleay32.dll origin ?

Postby TimStone » Mon Aug 04, 2014 4:45 pm

Several years ago I started including libeay32.dll and ssleay32.dll in my applications.

This is a library that was provided along with some code for using SSL capabilities in programs, but I can't seem to isolate where / why.

The libraries also have .lib files for use in xHarbour / Harbour applications.

I'm trying to track back and see what they are used for in current FWH apps so I can see if perhaps they can be eliminated. They are becoming problematic in the build with FWH / Harbour / Microsoft Visual Studio 2013.

Any input will be greatly appreciated.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2930
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: libeay32.dll / ssleay32.dll origin ?

Postby Gale FORd » Mon Aug 04, 2014 5:01 pm

SSLeay was an open source SSL project. It looks like it ceased in 1998 but there was a fork to OpenSSL.
Here is the WIkipedia entry http://en.wikipedia.org/wiki/SSLeay
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: libeay32.dll / ssleay32.dll origin ?

Postby Antonio Linares » Mon Aug 04, 2014 5:06 pm

Tim,

Those libs are related to the SSL use, so you can't remove them.

yes, I forgot that we are talking about Microsoft. But we can also create an import lib with it.

Basically we have to do this:

lib.exe /DEF:libeay32.def /OUT:libeay32.lib

I haven't found a way yet (I just checked again Microsoft lib.exe docs right now) to create the DEF file with Microsoft lib.exe. But we can use Borland's impdef.exe to create it and then supply it to Microsoft lib.exe

On a next msg I post the contents of libeay32.def. I have searched for libeay32.dll in my Windows 8 64 bits and I get several of them (not sure if they are all the same one) and I have choosen the first one to create the DEF file
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41922
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: libeay32.dll / ssleay32.dll origin ?

Postby Antonio Linares » Mon Aug 04, 2014 5:08 pm

I can't post it here (too large). You can download it from here:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/libeay32.def
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41922
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: libeay32.dll / ssleay32.dll origin ?

Postby TimStone » Tue Aug 05, 2014 6:01 pm

Antonio,

There are many versions of libeay32.dll and ssleay32.dll. I actually need a matched set of each:

libeay32.dll libeay32.lib
ssleay32.dll ssleay32.lib

They need to be compatible with Microsoft. They also need to be compatible with hb_tipssl.dll. Unfortunately these libraries are in circulation but not found on the web for download in a current version.

I have asked on the Harbour forum if anyone can send them to me. There has been no response. These files are open source so they really can be shared.

Why my current ones don't work on the MS Visual Studio build I don't know. I'm still doing comparisons to see what I can find.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2930
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: libeay32.dll / ssleay32.dll origin ?

Postby Antonio Linares » Wed Aug 06, 2014 3:17 am

Tim,

I answered you by email.

As I ha ve explained you yesterday I started in a gym and today I can't hardly move my right arm :-)

So today I may not be able to type very much...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41922
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: libeay32.dll / ssleay32.dll origin ?

Postby TimStone » Thu Aug 07, 2014 10:26 pm

RESOLVED ... this was a compiler setting ...
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2930
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: libeay32.dll / ssleay32.dll origin ?

Postby elvira » Mon Aug 18, 2014 8:46 am

Dear Timm,

I am interested too in those libs.

Can you explain please how to build the libs for MSVC 2010 and Bcc 5.82?.

Once the libs are built and linked to the App, do we need to also redistribute the .dlls with our applications?.

Thanks a lot!!.
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm

Re: libeay32.dll / ssleay32.dll origin ?

Postby TimStone » Mon Aug 18, 2014 4:22 pm

Elvira,

I don't build those libs. In fact, no one ever came back to me with a clear answer on those. There are multiple versions out there. The problem I have run into is I now am not sure what program I've added to my application that require those libraries. I thought they were part of a spell checker but that was not the case. I've used them for a long time. Recently I received more recent copies but they caused a conflict in my application.

It all gets so complicated. Perhaps I need to keep better notes ( documentation ).

BTW, I do not use Borland at all so I'm absolutely no help in that regard.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2930
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: libeay32.dll / ssleay32.dll origin ?

Postby elvira » Tue Aug 26, 2014 2:06 pm

Dear Timm,

Sorry, but I don´t understand.

How did yo manage to make the libs please?.

And also, where did you get those dll files?.

Thank you in advance.
elvira
 
Posts: 516
Joined: Fri Jun 29, 2012 12:49 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 34 guests