diff --git a/cryptoki/tests/basic.rs b/cryptoki/tests/basic.rs index 30273654..3c363a75 100644 --- a/cryptoki/tests/basic.rs +++ b/cryptoki/tests/basic.rs @@ -954,7 +954,7 @@ fn sha256_digest() -> TestResult { // data to digest let data = vec![0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF]; - let want = vec![ + let want = [ 0x17, 0x22, 0x6b, 0x1f, 0x68, 0xae, 0xba, 0xcd, 0xef, 0x07, 0x46, 0x45, 0x0f, 0x64, 0x28, 0x74, 0x63, 0x8b, 0x29, 0x57, 0x07, 0xef, 0x73, 0xfb, 0x2c, 0x6b, 0xb7, 0xf8, 0x8e, 0x89, 0x92, 0x9f,