diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-11-10 19:36:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-11-10 19:36:06 +0000 |
commit | 7f745396c470216fb36d1d9867fb51318abc951d (patch) | |
tree | 2583cb46bf2658266ba1db669bc8169adc01c3f2 /crypt/sha256-crypt.c | |
parent | cbed6a607d6b42b0cb264d2bee1bd784c8504d60 (diff) | |
download | glibc-7f745396c470216fb36d1d9867fb51318abc951d.zip glibc-7f745396c470216fb36d1d9867fb51318abc951d.tar.gz glibc-7f745396c470216fb36d1d9867fb51318abc951d.tar.bz2 |
* sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to..
* sysdeps/unix/sysv/linux/open64_2.c: ...here. New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add
open64_2.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat
entries.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/wordsize-64/alphasort.c: New file.
* sysdeps/wordsize-64/alphasort64.c: New file.
* sysdeps/wordsize-64/fseeko.c: New file.
* sysdeps/wordsize-64/fseeko64.c: New file.
* sysdeps/wordsize-64/ftello.c: New file.
* sysdeps/wordsize-64/ftello64.c: New file.
* sysdeps/wordsize-64/ftw.c: New file.
* sysdeps/wordsize-64/ftw64.c: New file.
* sysdeps/wordsize-64/iofgetpos.c: New file.
* sysdeps/wordsize-64/iofgetpos64.c: New file.
* sysdeps/wordsize-64/iofopen.c: New file.
* sysdeps/wordsize-64/iofopen64.c: New file.
* sysdeps/wordsize-64/iofsetpos.c: New file.
* sysdeps/wordsize-64/iofsetpos64.c: New file.
* sysdeps/wordsize-64/lockf.c: New file.
* sysdeps/wordsize-64/lockf64.c: New file.
* sysdeps/wordsize-64/mkostemp.c: New file.
* sysdeps/wordsize-64/mkostemp64.c: New file.
* sysdeps/wordsize-64/mkstemp.c: New file.
* sysdeps/wordsize-64/mkstemp64.c: New file.
* sysdeps/wordsize-64/scandir.c: New file.
* sysdeps/wordsize-64/scandir64.c: New file.
* sysdeps/wordsize-64/tmpfile.c: New file.
* sysdeps/wordsize-64/tmpfile64.c: New file.
* sysdeps/wordsize-64/versionsort.c: New file.
* sysdeps/wordsize-64/versionsort64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file.
* crypt/sha256-crypt.c: Fix a comment.
* crypt/sha512-crypt.c: Likewise.
Diffstat (limited to 'crypt/sha256-crypt.c')
-rw-r--r-- | crypt/sha256-crypt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypt/sha256-crypt.c b/crypt/sha256-crypt.c index 0db13e4..dbd29e0 100644 --- a/crypt/sha256-crypt.c +++ b/crypt/sha256-crypt.c @@ -129,9 +129,8 @@ __sha256_crypt_r (key, salt, buffer, buflen) /* Add the key string. */ __sha256_process_bytes (key, key_len, &ctx); - /* The last part is the salt string. This must be at most 8 - characters and it ends at the first `$' character (for - compatibility with existing implementations). */ + /* The last part is the salt string. This must be at most 16 + characters and it ends at the first `$' character. */ __sha256_process_bytes (salt, salt_len, &ctx); |