Skip to content

Commit c96400c

Browse files
Fixed CI errors
Signed-off-by: Jacob Prud'homme <2160185+jacobprudhomme@users.noreply.github.com>
1 parent e6e7da4 commit c96400c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptoki/tests/basic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ fn sign_verify_multipart() -> TestResult {
241241
)?;
242242

243243
// Data to sign
244-
let data = vec![0xFF, 0x55, 0xDD, 0x11, 0xBB, 0x33];
244+
let data = [0xFF, 0x55, 0xDD, 0x11, 0xBB, 0x33];
245245

246246
// Sign data in parts (standard RsaPkcs doesn't support this)
247247
session.sign_init(&Mechanism::Sha256RsaPkcs, priv_key)?;
@@ -1621,7 +1621,7 @@ fn sha256_digest_multipart() -> TestResult {
16211621
session.login(UserType::User, Some(&AuthPin::new(USER_PIN.into())))?;
16221622

16231623
// Data to digest
1624-
let data = vec![
1624+
let data = [
16251625
0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11,
16261626
];
16271627

0 commit comments

Comments
 (0)