Skip to content

Commit

Permalink
Revert "ok: Update RMP_INIT check to account for other bitflags"
Browse files Browse the repository at this point in the history
This reverts commit a72d2ac.
  • Loading branch information
tylerfanelli authored Feb 13, 2025
1 parent 0d15f58 commit 6435fe7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ is-it-maintained-open-issues = { repository = "virtee/snphost" }

[dependencies]
anyhow = "1.0.83"
sev = { git = "http://github.com/tylerfanelli/sev.git" , branch = "platform-status-alias-check", features = ['openssl']}
sev = { version = "5.0.0" , features = ['openssl']}
env_logger = "0.10.1"
clap = { version = "4.5", features = [ "derive" ] }
colorful = "0.2.2"
Expand Down
2 changes: 1 addition & 1 deletion src/ok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ fn snp_ioctl(test: SnpStatusTest) -> TestResult {
}
}
SnpStatusTest::Rmp => {
if (status.is_rmp_init & PlatformInit::IS_RMP_INIT).bits() != 0 {
if status.is_rmp_init == 1 {
TestResult {
name: format!("{}", SnpStatusTest::Rmp),
stat: TestState::Pass,
Expand Down

0 comments on commit 6435fe7

Please sign in to comment.