This is a discussion on Missing engines from crypto/engine when making a shared library - Openssl ; Hi, It seems tht when building a shared version of the library, all the engines in crypto/engine/ get compiled in, but are unavailable. Those in engines/ get compiled as a shared library and are available. If you make a static ...
It seems tht when building a shared version of the library, all
the engines in crypto/engine/ get compiled in, but are
unavailable. Those in engines/ get compiled as a shared library
and are available.
If you make a static library, or link against the static library
they do work as expected.
The problem seems to be that the Makefile for cryto/engine/ does
not support making shared libraries. The engines in it will not
get loaded if the library is build shared.
The code in crypto/engine/eng_all.c: looks something like:
Most of those engines are in engines/ except for 2 of them:
padlock and cryptodev. They are in crypto/engine/
This means that currently padlock and cryptodev are not working
in a shared version of the library.
I see 2 solutions to this:
- Also provide them as shared libraries
- Don't put them into the #ifndef OPENSSL_NO_STATIC_ENGINE
OpenSSL Project http://www.openssl.org
Development Mailing List email@example.com
Automated List Manager firstname.lastname@example.org