diff --git a/src/lib/libutil/pkcs5_pbkdf2.c b/src/lib/libutil/pkcs5_pbkdf2.c index 26c2b646..f7207650 100644 --- a/src/lib/libutil/pkcs5_pbkdf2.c +++ b/src/lib/libutil/pkcs5_pbkdf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pkcs5_pbkdf2.c,v 1.4 2013/06/03 21:07:02 tedu Exp $ */ +/* $OpenBSD: pkcs5_pbkdf2.c,v 1.5 2014/01/18 07:12:04 jsing Exp $ */ /*- * Copyright (c) 2008 Damien Bergamini @@ -73,8 +73,8 @@ hmac_sha1(const u_int8_t *text, size_t text_len, const u_int8_t *key, * Code based on IEEE Std 802.11-2007, Annex H.4.2. */ int -pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt, size_t salt_len, - uint8_t *key, size_t key_len, unsigned int rounds) +pkcs5_pbkdf2(const char *pass, size_t pass_len, const uint8_t *salt, + size_t salt_len, uint8_t *key, size_t key_len, unsigned int rounds) { uint8_t *asalt, obuf[SHA1_DIGEST_LENGTH]; uint8_t d1[SHA1_DIGEST_LENGTH], d2[SHA1_DIGEST_LENGTH];