diff options
Diffstat (limited to 'crypt')
-rw-r--r-- | crypt/md5-crypt.c | 6 | ||||
-rw-r--r-- | crypt/sha256-crypt.c | 6 | ||||
-rw-r--r-- | crypt/sha512-crypt.c | 6 |
3 files changed, 3 insertions, 15 deletions
diff --git a/crypt/md5-crypt.c b/crypt/md5-crypt.c index 1b890bc49a..dad5942dba 100644 --- a/crypt/md5-crypt.c +++ b/crypt/md5-crypt.c @@ -89,11 +89,7 @@ extern char *__md5_crypt (const char *key, const char *salt); /* This entry point is equivalent to the `crypt' function in Unix libcs. */ char * -__md5_crypt_r (key, salt, buffer, buflen) - const char *key; - const char *salt; - char *buffer; - int buflen; +__md5_crypt_r (const char *key, const char *salt, char *buffer, int buflen) { unsigned char alt_result[16] __attribute__ ((__aligned__ (__alignof__ (md5_uint32)))); diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c index d90e291aa7..96102e96c0 100644 --- a/crypt/sha256-crypt.c +++ b/crypt/sha256-crypt.c @@ -99,11 +99,7 @@ extern char *__sha256_crypt (const char *key, const char *salt); char * -__sha256_crypt_r (key, salt, buffer, buflen) - const char *key; - const char *salt; - char *buffer; - int buflen; +__sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen) { unsigned char alt_result[32] __attribute__ ((__aligned__ (__alignof__ (uint32_t)))); diff --git a/crypt/sha512-crypt.c b/crypt/sha512-crypt.c index 9c581abb00..925749277a 100644 --- a/crypt/sha512-crypt.c +++ b/crypt/sha512-crypt.c @@ -99,11 +99,7 @@ extern char *__sha512_crypt (const char *key, const char *salt); char * -__sha512_crypt_r (key, salt, buffer, buflen) - const char *key; - const char *salt; - char *buffer; - int buflen; +__sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen) { unsigned char alt_result[64] __attribute__ ((__aligned__ (__alignof__ (uint64_t)))); |