Skip to content

Commit 592b682

Browse files
Potential fix for code scanning alert no. 2: Disabled TLS certificate check
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Daniel Bodnar <1790726+danielbodnar@users.noreply.github.com>
1 parent 422cf2e commit 592b682

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/api/vyos.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ impl VyOSClient {
101101
if self.http_client.is_none() {
102102
let client = Client::builder()
103103
.timeout(Duration::from_secs(self.config.timeout))
104-
.danger_accept_invalid_certs(true) // VyOS might use self-signed certs
105104
.build()
106105
.context("Failed to build HTTP client")?;
107106

0 commit comments

Comments
 (0)