Skip to content

Commit

Permalink
nssdb: Do not override flags
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Dec 11, 2024
1 parent 15f8c74 commit cae9b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/nssdb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl NSSStorage {
&mut info.manufacturer,
);
if self.config.password_required {
info.flags = CKF_LOGIN_REQUIRED;
info.flags |= CKF_LOGIN_REQUIRED;
}
Ok(info)
}
Expand Down

0 comments on commit cae9b03

Please sign in to comment.