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

Reply via email to