diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-08 23:18:39 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-08 23:18:39 +0300 |
commit | 6bfb56e93bcef41859c2d5ab234ffd80b691be35 (patch) | |
tree | 170630f317036ed9b92b0d0fb7822e986f933c84 /scripts | |
parent | 34f4335c16a5f4bb7da6c8d2d5e780b6a163846a (diff) | |
download | linux-6bfb56e93bcef41859c2d5ab234ffd80b691be35.tar.xz |
cert host tools: Stop complaining about deprecated OpenSSL functions
OpenSSL 3.0 deprecated the OpenSSL's ENGINE API. That is as may be, but
the kernel build host tools still use it. Disable the warning about
deprecated declarations until somebody who cares fixes it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/sign-file.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/sign-file.c b/scripts/sign-file.c index fbd34b8e8f57..7434e9ea926e 100644 --- a/scripts/sign-file.c +++ b/scripts/sign-file.c @@ -30,6 +30,13 @@ #include <openssl/engine.h> /* + * OpenSSL 3.0 deprecates the OpenSSL's ENGINE API. + * + * Remove this if/when that API is no longer used + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + +/* * Use CMS if we have openssl-1.0.0 or newer available - otherwise we have to * assume that it's not available and its header file is missing and that we * should use PKCS#7 instead. Switching to the older PKCS#7 format restricts |