Fix auto-discovery of ENGINEs, ported from HEAD.
authorGeoff Thorpe <geoff@openssl.org>
Mon, 28 Apr 2008 21:45:43 +0000 (21:45 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 28 Apr 2008 21:45:43 +0000 (21:45 +0000)
commit98bd148b1ab003d510737e157556130693f1afab
tree87d4b24dfdd3f12d8908f7b1a846f837ddcd30df
parent292248b8c28a077cd3325639984b6ae10df4c4cf
Fix auto-discovery of ENGINEs, ported from HEAD.

NB, this fixes a regression relative to 0.9.7 and the documented behaviour,
but it would make sense for distro maintainers and others with an interest
in system behaviour to test with this change. The fix re-enables behaviour
that was broken and thus inherently disabled. In particular, if you
register an ENGINE implementation, and that ENGINE is able to successfully
self-initialise on the host, it will get used automatically (as claimed in
the documentation and as was the case for 0.9.7) - this was not the case
with 0.9.8 until now because of a bug.

PR: 1668
Submitted by: Ian Lister
Reviewed by: Geoff Thorpe
CHANGES
crypto/engine/eng_table.c