Remove fallback dynamic engine loading support.
authorbcook <bcook@openbsd.org>
Fri, 19 Jun 2015 07:18:58 +0000 (07:18 +0000)
committerbcook <bcook@openbsd.org>
Fri, 19 Jun 2015 07:18:58 +0000 (07:18 +0000)
commit13a2dacacccbdd3393421667b8292b9ab972cf85
treeb1c797f2863f81fabd53f2eff74017a7d5ecf73e
parent4e014655d96c46f6c203d4e7550f6c44280c9309
Remove fallback dynamic engine loading support.

Since we no longer have dynamic engines, don't bother falling back to them
if a builtin engine is not found first.

Before:

$ openssl dgst -engine unknown
invalid engine "unknown"
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=dynamic

After:

$ openssl dgst -engine unknown
invalid engine "unknown"
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown

ok doug@
usr.bin/openssl/apps.c