[openssl-dev] [openssl.org #4093] Problem loading engine from config

Dmitry Belyavsky via RT rt at openssl.org
Wed Oct 14 19:10:53 UTC 2015


Hello,

I have a problem when I load an engine from config file in master.

OpenSSL cmdline: /home/build/openssl-shell/openssl/apps/openssl dgst
-md_gost94 dgst.dat

Error configuring OpenSSL modules
47445915269832:error:25066067:DSO support routines:DLFCN_LOAD:could not
load the shared library:dso_dlfcn.c:172:filename(libengines.so):
libengines.so: cannot open shared object file: No such file or directory
47445915269832:error:25070067:DSO support routines:DSO_load:could not load
the shared library:dso_lib.c:227:
47445915269832:error:0E07506E:configuration file
routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:270:module=engines,
path=engines
47445915269832:error:0E076071:configuration file
routines:MODULE_RUN:unknown module name:conf_mod.c:212:module=engines

The openssl.cnf file I use is:

========
openssl_conf = openssl_def
[openssl_def]
engines = engine_section
[engine_section]
gost=gost_section
[gost_section]
dynamic_path=/home/build/openssl-shell/openssl/engines/ccgost/libgost.so
engine_id=gost
default_algorithms = ALL
========

The gost engine I build is from the master.

If I delete the lines
========
engines = engine_section
[engine_section]
========
I get another error:

dgst: Unknown digest md_gost94
dgst: Use -help for summary.

The behavior seems to be changed after the commit
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=a0a82324f965bbcc4faed4e1ee3fcaf81ea52166

Thank you!

-- 
SY, Dmitry Belyavsky

-------------- next part --------------
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod


More information about the openssl-dev mailing list