Jump to content
sfrazor

OpenSSL_ProgramData again...

Recommended Posts

ICS 9.3
I searched and read the previous questions and answers.  I read the readme and have commented out OpenSSL_ProgramData (from the OverbyteIcsDefs.inc) as well as YuopenSSL and OPenSSL_Resource_Files also commented out.  I want to distribute the exe and OpenSSL Dll's and drop them all in the same folder and have the exe load them via normal WIndows search order looking at the local folder first.  Why?  First delivery is large with all files but subsequent deliveries is only the exe.

It still loads from c:\ProgramData\ICS-OpenSSL\

Am I misunderstanding the readme in the OverbyteIcsDefs.inc?
 

Share this post


Link to post

Allowing applications to search the Windows path for OpenSSL DLLs is risky, since there may be older versions left by other applications. 

 

If you want to load OpenSSL from your own directory, you need to set GSSL_PUBLIC_DIR to that directory and immediately load OpenSSL.  

 

Not sure your proposed distribution method will save much.  You are distributing multiple files instead of a single EXE to save about 5MB on an EXE file that is probably 15M or more.  

 

Angus

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×