Skip to contentSkip to conversation

unit: Fix typo in pbkdf2 output

PATCH Applied Mat Martineau 2 participants 2 messages Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unit: Fix typo in pbkdf2 output

---
 unit/test-pbkdf2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
unit/test-pbkdf2.c +3 -3
index c970abe..f1b13ea 100644
@@ -54,12 +54,12 @@ static void pbkdf2_test(const void *data)
 
 	key_len = test->key_len ? : (strlen(test->key) / 2);
 
-	printf("Password = \"%s\" (%d octects)\n",
+	printf("Password = \"%s\" (%d octets)\n",
 					test->password, password_len);
-	printf("Salt     = \"%s\" (%d octects)\n",
+	printf("Salt     = \"%s\" (%d octets)\n",
 					test->salt, salt_len);
 	printf("Count    = %d\n", test->count);
-	printf("Key      = %s (%d octects)\n", test->key, key_len);
+	printf("Key      = %s (%d octets)\n", test->key, key_len);
 
 	result = l_pkcs5_pbkdf2(L_CHECKSUM_SHA1, test->password,
 				(const uint8_t *) test->salt, salt_len,
Signature · 1 line
2.16.1
#1 lore raw

Hi Mat,

Quoted 4 lines · Mat Martineau
---
  unit/test-pbkdf2.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Regards,
-Denis