hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/scripts/sign-file.c
....@@ -30,6 +30,13 @@
3030 #include <openssl/engine.h>
3131
3232 /*
33
+ * OpenSSL 3.0 deprecates the OpenSSL's ENGINE API.
34
+ *
35
+ * Remove this if/when that API is no longer used
36
+ */
37
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
38
+
39
+/*
3340 * Use CMS if we have openssl-1.0.0 or newer available - otherwise we have to
3441 * assume that it's not available and its header file is missing and that we
3542 * should use PKCS#7 instead. Switching to the older PKCS#7 format restricts