diff mbox series

[RFC,8/8] unit: update test-pbkdf2 with API change

Message ID 20221118211624.19298-9-prestwoj@gmail.com (mailing list archive)
State New
Headers show
Series Crypto operations by key ID | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success

Commit Message

James Prestwood Nov. 18, 2022, 9:16 p.m. UTC
---
 unit/test-pbkdf2.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/unit/test-pbkdf2.c b/unit/test-pbkdf2.c
index 3f272ce..1053de2 100644
--- a/unit/test-pbkdf2.c
+++ b/unit/test-pbkdf2.c
@@ -52,6 +52,7 @@  static void pbkdf2_test(const void *data)
 	key_len = test->key_len ? : (strlen(test->key) / 2);
 
 	result = l_cert_pkcs5_pbkdf2(L_CHECKSUM_SHA1, test->password,
+					strlen(test->password),
 					(const uint8_t *) test->salt, salt_len,
 					test->count, output, key_len);