Re: Accessing ENGINESDIR value

2012-02-25 Thread Roumen Petrov

Hi Dmitry,

Dmitry Belyavsky wrote:

Greetings!

What is the correct way to get the ENGINESDIR value  It is defined in
opensslconf.h but it is not enough to include opensslconf.h to get it
defined.

Why engine directory for openssl configuration is so important ?

Engine installation may depend from additional libraries . If dependent 
libraries are in /usr file system engine cannot be installed in root fs.
Also at run time path could be overridden by OPENSSL_ENGINES environment 
variable.


Roumen

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Re: Accessing ENGINESDIR value

2012-02-25 Thread Dmitry Belyavsky
Greetings!

On Sat, Feb 25, 2012 at 4:23 PM, Roumen Petrov
open...@roumenpetrov.info wrote:
 Hi Dmitry,


 Dmitry Belyavsky wrote:

 Greetings!

 What is the correct way to get the ENGINESDIR value  It is defined in
 opensslconf.h but it is not enough to include opensslconf.h to get it
 defined.

 Why engine directory for openssl configuration is so important ?

 Engine installation may depend from additional libraries . If dependent
 libraries are in /usr file system engine cannot be installed in root fs.
 Also at run time path could be overridden by OPENSSL_ENGINES environment
 variable.

We are going to place one corresponding file near our engine. But
unfortunately we can not find the build-dependent engines dir.

We can use dladdr() func to find the engine location but it seems to
be wrong way :-)


-- 
SY, Dmitry Belyavsky
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


Accessing ENGINESDIR value

2012-02-24 Thread Dmitry Belyavsky
Greetings!

What is the correct way to get the ENGINESDIR value It is defined in
opensslconf.h but it is not enough to include opensslconf.h to get it
defined.

Thank you!

-- 
SY, Dmitry Belyavsky
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org