We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62260d8 commit e6d378fCopy full SHA for e6d378f
cryptoki/tests/basic.rs
@@ -3700,13 +3700,7 @@ fn unique_id() -> TestResult {
3700
];
3701
let res = session.create_object(&key_template);
3702
assert!(res.is_err());
3703
- assert!(matches!(
3704
- res,
3705
- Err(Error::Pkcs11(
3706
- _,
3707
- Function::CreateObject
3708
- ))
3709
- ));
+ assert!(matches!(res, Err(Error::Pkcs11(_, Function::CreateObject))));
3710
3711
let generate_template = vec![
3712
Attribute::Token(true),
0 commit comments