FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour libeay32.dll / ssleay32.dll origin ?
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 04, 2014 04: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
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 04, 2014 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 04, 2014 05: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 04, 2014 05: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Tue Aug 05, 2014 06: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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Wed Aug 06, 2014 03: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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: 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
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 18, 2014 08: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!!.

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Mon Aug 18, 2014 04: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
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: libeay32.dll / ssleay32.dll origin ?
Posted: Tue Aug 26, 2014 02: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.

Continue the discussion