Hide warning about unused pin variable
Created by downstream backport of openssl provider support.
This commit is contained in:
parent
0f0106cb47
commit
ea2fc21f01
1 changed files with 6 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
From 099621c2769b934d0e1b02c0b085df86ae951780 Mon Sep 17 00:00:00 2001
|
||||
From 0869590a0c182cbf546df190616f56f790fa32aa Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
|
||||
Date: Thu, 13 Feb 2025 13:20:28 +0100
|
||||
Subject: [PATCH] Backport OpenSSL 3 provider support
|
||||
|
|
@ -33,12 +33,12 @@ That would require additional heavier changes.
|
|||
---
|
||||
lib/dns/dst_openssl.h | 4 +
|
||||
lib/dns/dst_parse.c | 21 ++---
|
||||
lib/dns/openssl_link.c | 160 ++++++++++++++++++++++++++++-----
|
||||
lib/dns/openssl_link.c | 161 ++++++++++++++++++++++++++++-----
|
||||
lib/dns/openssldh_link.c | 5 ++
|
||||
lib/dns/opensslecdsa_link.c | 110 ++++++++++++-----------
|
||||
lib/dns/openssleddsa_link.c | 40 +++------
|
||||
lib/dns/opensslrsa_link.c | 173 ++++++++++++++----------------------
|
||||
7 files changed, 294 insertions(+), 219 deletions(-)
|
||||
7 files changed, 295 insertions(+), 219 deletions(-)
|
||||
|
||||
diff --git a/lib/dns/dst_openssl.h b/lib/dns/dst_openssl.h
|
||||
index 819af0fee1..cd386c0019 100644
|
||||
|
|
@ -101,7 +101,7 @@ index d5ea0e418b..addb65ec5a 100644
|
|||
}
|
||||
|
||||
diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c
|
||||
index e3a89f4406..5be6116985 100644
|
||||
index e3a89f4406..62077b6f81 100644
|
||||
--- a/lib/dns/openssl_link.c
|
||||
+++ b/lib/dns/openssl_link.c
|
||||
@@ -44,6 +44,9 @@
|
||||
|
|
@ -186,7 +186,7 @@ index e3a89f4406..5be6116985 100644
|
|||
}
|
||||
|
||||
void
|
||||
@@ -220,4 +223,119 @@ dst__openssl_getengine(const char *engine) {
|
||||
@@ -220,4 +223,120 @@ dst__openssl_getengine(const char *engine) {
|
||||
}
|
||||
#endif /* if !defined(OPENSSL_NO_ENGINE) && OPENSSL_API_LEVEL < 30000 */
|
||||
|
||||
|
|
@ -240,6 +240,7 @@ index e3a89f4406..5be6116985 100644
|
|||
+static isc_result_t
|
||||
+dst__openssl_fromlabel_provider(int key_base_id, const char *label, const char *pin,
|
||||
+ EVP_PKEY **ppub, EVP_PKEY **ppriv) {
|
||||
+ UNUSED(pin);
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
+ isc_result_t ret = DST_R_OPENSSLFAILURE;
|
||||
+ OSSL_STORE_CTX *ctx = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue