SHA256
1
0
forked from pool/rust-keylime
rust-keylime/0001-keylime-agent-remove-const_err-deny.patch
Alberto Planas Dominguez 432824d620 Accepting request 1058991 from home:aplanas:branches:security
- Update to version 0.1.0+git.1672681780.762cec8:
  * build(deps): bump openssl from 0.10.41 to 0.10.45
  * build(deps): bump tokio from 1.21.1 to 1.23.0
  * Disable dnf-makecache.service to save RAM
  * CI tests: Do not remove Fedora tag repository
  * add support for cargo deb
  * Pacify clippy::needless-borrow
  * Move tpm.rs from keylime-agent to the library
  * Split crates into library and applications
- Add 0001-keylime-agent-remove-const_err-deny.patch
- Fix "cargo install" with workspaces
  https://github.com/rust-lang/cargo/issues/7599
- Add 0001-Cargo.toml-tss-esapi-bindings.patch
- Update to version 0.1.0+git.1670590616.e80c67a:
  * main: only read uuid from KeylimeConfig
  * Enabling more e2e tests in Packit CI
  * systemd: start agent after network is online
  * Cargo: Drop unused dependencies rust-ini and toml

OBS-URL: https://build.opensuse.org/request/show/1058991
OBS-URL: https://build.opensuse.org/package/show/security/rust-keylime?expand=0&rev=33
2023-01-17 15:00:07 +00:00

33 lines
871 B
Diff

From a44207e5ffde079b39b119afbf12871d2f78adf1 Mon Sep 17 00:00:00 2001
From: Alberto Planas <aplanas@suse.com>
Date: Mon, 16 Jan 2023 15:51:46 +0100
Subject: [PATCH] keylime-agent: remove const_err deny
In 1.66 / 1.66.1 const_err is already a hard error, and was enabled as
such as long ago. New compilers will complain in case that this is still
used:
warning: lint `const_err` has been removed: converted into hard error
More info:
https://github.com/rust-lang/rust/issues/71800
---
keylime-agent/src/main.rs | 1 -
1 file changed, 1 deletion(-)
diff --git a/keylime-agent/src/main.rs b/keylime-agent/src/main.rs
index 6333652..1d6fdf4 100644
--- a/keylime-agent/src/main.rs
+++ b/keylime-agent/src/main.rs
@@ -3,7 +3,6 @@
#![deny(
nonstandard_style,
- const_err,
dead_code,
improper_ctypes,
non_shorthand_field_patterns,
--
2.39.0