Skip to content

Commit ff42006

Browse files
Rust wrapper: guard a couple unit tests that require sha512
1 parent 110408a commit ff42006

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wrapper/rust/wolfssl-wolfcrypt/tests/test_pbkdf2_password_hash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ fn test_sha384_algorithm() {
108108
}
109109

110110
#[test]
111+
#[cfg(sha512)]
111112
fn test_sha512_algorithm() {
112113
common::setup();
113114

@@ -159,6 +160,7 @@ fn test_customized_hash() {
159160
}
160161

161162
#[test]
163+
#[cfg(sha512)]
162164
fn test_customized_hash_with_algorithm_override() {
163165
common::setup();
164166

0 commit comments

Comments
 (0)