Use ENGINE_get_id() instead of ENGINE_get_name()
authorMatt Caswell <matt@openssl.org>
Thu, 29 Aug 2019 10:55:57 +0000 (11:55 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 29 Aug 2019 14:21:13 +0000 (15:21 +0100)
commit9a7846dfe512baa55ad0485b67ffdbb2cb3a5cc3
tree31a7011d0c23ef0e91cf50acf865409e4244dc90
parent3be06e0d10e29dc4a00c6cb9dd06067b2c075f35
Use ENGINE_get_id() instead of ENGINE_get_name()

ENGINE_get_name() actually returns more of a long description of the
engine, whilst ENGINE_get_id() returns a shorter id.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9720)
crypto/evp/p_lib.c