Skip to content

Commit

Permalink
feat(575): fix typo in
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <[email protected]>
  • Loading branch information
gabrik committed Oct 31, 2023
1 parent 146c6fe commit 8a5f71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io/zenoh-links/zenoh-link-tls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ impl ConfigurationInspector<Config> 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));
Expand Down

0 comments on commit 8a5f71e

Please sign in to comment.