sign-file: Convert API usage to support OpenSSL v3
Origin: https://lore.kernel.org/lkml/
20220518215129.264872-1-keescook@chromium.org/
OpenSSL's ENGINE API is deprecated in OpenSSL v3.0, along with some
other functions. Remove the ENGINE use and a macro work-around for
ERR_get_error_line().
Cc: David Howells <dhowells@redhat.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Salvatore Bonaccorso <carnil@debian.org>
Cc: keyrings@vger.kernel.org
Suggested-by: Adam Langley <agl@google.com>
Co-developed-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Tested-by: Shuah Khan <skhan@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name sign-file-Convert-API-usage-to-support-OpenSSL-v3.patch