From 8a5f71ef6eb30af831c2edaadfdd4e8ddcd605f0 Mon Sep 17 00:00:00 2001 From: gabrik Date: Tue, 31 Oct 2023 14:43:42 +0100 Subject: [PATCH] feat(575): fix typo in Signed-off-by: gabrik --- io/zenoh-links/zenoh-link-tls/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/io/zenoh-links/zenoh-link-tls/src/lib.rs b/io/zenoh-links/zenoh-link-tls/src/lib.rs index c0dd9cef83..5875acecce 100644 --- a/io/zenoh-links/zenoh-link-tls/src/lib.rs +++ b/io/zenoh-links/zenoh-link-tls/src/lib.rs @@ -130,9 +130,9 @@ impl ConfigurationInspector for TlsConfigurator { _ => {} } - match (c.client_private_key(), c.client_private_key_base64()) { + match (c.client_certificate(), c.client_certificate_base64()) { (Some(_), Some(_)) => { - bail!("Only one between 'client_private_key' and 'client_private_key_base64' can be present!") + bail!("Only one between 'client_certificate' and 'client_certificate_base64' can be present!") } (Some(client_certificate), None) => { ps.push((TLS_CLIENT_CERTIFICATE_FILE, client_certificate));