summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extract-cert.c7
-rw-r--r--spki-hash.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/extract-cert.c b/extract-cert.c
index b071bf4..c14a4a0 100644
--- a/extract-cert.c
+++ b/extract-cert.c
@@ -25,6 +25,13 @@
#define PKEY_ID_PKCS7 2
+/*
+ * 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"
+
static __attribute__((noreturn))
void format(void)
{
diff --git a/spki-hash.c b/spki-hash.c
index 47bea50..4356ff7 100644
--- a/spki-hash.c
+++ b/spki-hash.c
@@ -27,6 +27,13 @@
#define PKEY_ID_PKCS7 2
+/*
+ * 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"
+
static __attribute__((noreturn))
void format(void)
{