diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2012-10-10 07:05:10 -0300 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2012-10-10 07:05:10 -0300 |
commit | 4ba74a357376c8f8bf49487f96ae71cf2460c3f3 (patch) | |
tree | 785d54466a7b81a674cd69ee59c5e617f2d6101e /ChangeLog | |
parent | 0e3b5d6a6859d74a18033d3a55e0ee92340437b3 (diff) | |
download | glibc-4ba74a357376c8f8bf49487f96ae71cf2460c3f3.zip glibc-4ba74a357376c8f8bf49487f96ae71cf2460c3f3.tar.gz glibc-4ba74a357376c8f8bf49487f96ae71cf2460c3f3.tar.bz2 |
* crypt/crypt-private.h: Include stdbool.h.
(_ufc_setup_salt_r): Return bool.
* crypt/crypt-entry.c: Include errno.h.
(__crypt_r): Return NULL with EINVAL for bad salt.
* crypt/crypt_util.c (bad_for_salt): New.
(_ufc_setup_salt_r): Check that salt is long enough and within
the specified alphabet.
* crypt/badsalttest.c: New file.
* crypt/Makefile (tests): Add it.
($(objpfx)badsalttest): New.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2012-10-10 Alexandre Oliva <aoliva@redhat.com> + + * crypt/crypt-private.h: Include stdbool.h. + (_ufc_setup_salt_r): Return bool. + * crypt/crypt-entry.c: Include errno.h. + (__crypt_r): Return NULL with EINVAL for bad salt. + * crypt/crypt_util.c (bad_for_salt): New. + (_ufc_setup_salt_r): Check that salt is long enough and within + the specified alphabet. + * crypt/badsalttest.c: New file. + * crypt/Makefile (tests): Add it. + ($(objpfx)badsalttest): New. + 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com> * NEWS: Add entry for BZ #14602. |