summaryrefslogtreecommitdiff
path: root/crypt
AgeCommit message (Collapse)Author
2001-12-29Realloc error handling memory leak fix.Ulrich Drepper
2001-12-28Update.Andreas Jaeger
2001-12-28 Andreas Jaeger <aj@suse.de> * io/bug-ftw3.c: Include string.h for prototypes. * crypt/md5test.c (main): Remove unused variable. * linuxthreads_db/td_init.c (td_init): Don't use __FUNCTION__ as literal. * linuxthreads_db/td_log.c (td_log): Likewise. * linuxthreads_db/td_ta_delete.c (td_ta_delete): Likewise. * linuxthreads_db/td_ta_get_nthreads.c (td_ta_get_nthreads): Likewise. * linuxthreads_db/td_ta_get_ph.c (td_ta_get_ph): Likewise. * linuxthreads_db/td_ta_map_id2thr.c (td_ta_map_id2thr): Likewise. * linuxthreads_db/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Likewise. * linuxthreads_db/td_ta_new.c (td_ta_new): Likewise. * linuxthreads_db/td_ta_clear_event.c (td_ta_clear_event): Likewise. * linuxthreads_db/td_ta_enable_stats.c (td_ta_enable_stats): Likewise. * linuxthreads_db/td_ta_event_addr.c (td_ta_event_addr): Likewise. * linuxthreads_db/td_ta_event_getmsg.c (td_ta_event_getmsg): Likewise. * linuxthreads_db/td_ta_get_stats.c (td_ta_get_stats): Likewise. * linuxthreads_db/td_ta_reset_stats.c (td_ta_reset_stats): Likewise. * linuxthreads_db/td_ta_set_event.c (td_ta_set_event): Likewise. * linuxthreads_db/td_ta_setconcurrency.c (td_ta_setconcurrency): Likewise. * linuxthreads_db/td_ta_thr_iter.c (td_ta_thr_iter): Likewise. * linuxthreads_db/td_ta_tsd_iter.c (td_ta_tsd_iter): Likewise. * linuxthreads_db/td_thr_clear_event.c (td_thr_clear_event): Likewise. * linuxthreads_db/td_thr_dbresume.c (td_thr_dbresume): Likewise. * linuxthreads_db/td_thr_dbsuspend.c (td_thr_dbsuspend): Likewise. * linuxthreads_db/td_thr_event_enable.c (td_thr_event_enable): Likewise. * linuxthreads_db/td_thr_event_getmsg.c (td_thr_event_getmsg): Likewise. * linuxthreads_db/td_thr_get_info.c (td_thr_get_info): Likewise. * linuxthreads_db/td_thr_getfpregs.c (td_thr_getfpregs): Likewise. * linuxthreads_db/td_thr_getgregs.c (td_thr_getgregs): Likewise. * linuxthreads_db/td_thr_getxregs.c (td_thr_getxregs): Likewise. * linuxthreads_db/td_thr_getxregsize.c (td_thr_getxregsize): Likewise. * linuxthreads_db/td_thr_set_event.c (td_thr_set_event): Likewise. * linuxthreads_db/td_thr_setfpregs.c (td_thr_setfpregs): Likewise. * linuxthreads_db/td_thr_setgregs.c (td_thr_setgregs): Likewise. * linuxthreads_db/td_thr_setprio.c (td_thr_setprio): Likewise. * linuxthreads_db/td_thr_setsigpending.c (td_thr_setsigpending): Likewise. * linuxthreads_db/td_thr_setxregs.c (td_thr_setxregs): Likewise. * linuxthreads_db/td_thr_sigsetmask.c (td_thr_sigsetmask): Likewise. * linuxthreads_db/td_thr_tsd.c (td_thr_tsd): Likewise. * linuxthreads_db/td_thr_validate.c (td_thr_validate): Likewise. * dlfcn/modstatic.c: Add prototype to avoid warning.
2001-12-14Define md5_uintptr.Ulrich Drepper
2001-12-14Update.Ulrich Drepper
2001-12-13 Ulrich Drepper <drepper@redhat.com> * crypt/md5.c (md5_process_bytes): Correct handling of alignment. Patch by Eric Sharkey <sharkey@netrics.com>. * crypt/md5test.c (main): Add test for multiple calls to __md5_process_bytes to itererate over input string.
2001-08-31Update.Ulrich Drepper
* crypt/md5-crypt.c (__md5_crypt_r): Compute used and required memory correctly.
2001-07-06 * COPYING: Fix Y2k bug in sample copyright notices.Andreas Jaeger
* manual/lesser.texi: Renamed from manual/lgpl.texinfo, as fsf.org uses the name "lesser.texi". * manual/Makefile (texis): Follow rename.
2001-07-06Update to LGPL v2.1.Andreas Jaeger
2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
2001-03-18Update.Ulrich Drepper
2001-03-18 Ulrich Drepper <drepper@redhat.com> * Makerules (build-shlib): Remove unnecessary slashes introduced in last change. * configure.in: Test for -Bgroup option of linker. * config.make.in: Define have-Bgroup. * conform/data/unistd.h-data: Require gethostname. * posix/unistd.h: Make gethostname prototype available for __USE_XOPEN2K. * crypt/Makefile: When generating DSO link with libc_nonshared.a. * debug/Makefile: Likewise. * dlfcn/Makefile: Likewise. * hesiod/Makefile: Likewise. * iconvdata/extra-module.mk: Likewise. * locale/Makefile: Likewise. * login/Makefile: Likewise. * math/Makefile: Likewise. * nis/Makefile: Likewise. * nss/Makefile: Likewise. * resolv/Makefile: Likewise. * rt/Makefile: Likewise. * posix/unistd.h (gethostname): Change type of second parameter back to size_t as per upcoming XPG6.
2000-09-22Update.Andreas Jaeger
2000-09-22 Jakub Jelinek <jakub@redhat.com> * crypt/crypt.h (crypt, setkey, encrypt): Add __THROW. (crypt_r, setkey_r, encrypt_r): Likewise.
2000-08-24Update.Ulrich Drepper
* crypt/md5-crypt.c (free_mem): Fix typo (constructor -> destructor). Reported by Solar Designer <solar@false.com>.
2000-08-17Update.Greg McGary
2000-08-17 Greg McGary <greg@mcgary.org> * Makeconfig (link-extra-libs-bounded): Strip `-bp' suffix from test program name when constructing suffix for $(LDLIBS-*). (bounded-thread-library): New variable. * crypt/Makefile [build-shared, build-static] (libcrypt-dep): Remove variable. ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. * linuxthreads/Makefile (libpthread, librt): Remove variables. (librt-tests): Add variable. (tests): Use it. [build-shared, build-static] ($(addprefix $(objpfx),$(tests)), $(addprefix $(objpfx),$(librt-tests))): Consolidate individual dependencies. [build-bounded] ($(tests:%=$(objpfx)%-bp), $(librt-tests:%=$(objpfx)%-bp)): Add dependencies. * math/Makefile (LDLIBS-*): Remove variables (they are redundant). [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. * misc/Makefile [build-bounded] ($(objpfx)tst-tsearch-bp): Add dependencies. * rt/Makefile [build-shared, build-static] ($(addprefix $(objpfx),$(tests))): Consolidate individual dependencies. [build-bounded] ($(tests:%=$(objpfx)%-bp)): Add dependencies. 2000-08-17 Greg McGary <greg@mcgary.org> * sysdeps/generic/bp-checks.h: s/\(CHECK\w+\)opt/\1_NULL_OK/ * sysdeps/unix/make-syscalls.sh: Likewise. * sysdeps/unix/sysv/linux/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise. 2000-08-17 Greg McGary <greg@mcgary.org> * sysdeps/i386/fpu/s_frexp.S: Check bounds. Wrap extern symbols in BP_SYM (). * sysdeps/i386/fpu/s_frexpf.S: Likewise. * sysdeps/i386/fpu/s_frexpl.S: Likewise. * sysdeps/i386/fpu/s_remquo.S: Likewise. * sysdeps/i386/fpu/s_remquof.S: Likewise. * sysdeps/i386/fpu/s_remquol.S: Likewise. * sysdeps/i386/fpu/s_sincos.S: Likewise. * sysdeps/i386/fpu/s_sincosf.S: Likewise. * sysdeps/i386/fpu/s_sincosl.S: Likewise. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2000-08-15Update.Ulrich Drepper
* sysdeps/posix/ttyname.c: Make name variable from getttyname function global (with file scope). Add __libc_subfreeres function to free the string. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. Also for buf variable in ttyname function. * sysdeps/generic/strtok.c: Remove initializer for olds variable. * crypt/md5-crypt.c: Let destructor deallocate static buffer. * iconvdata/sjis.c (from_ucs4_lat1): Handle U005C and U007E by mapping them to /x5c and /x7e respectively.
2000-07-24Update.Ulrich Drepper
2000-07-24 Jakub Jelinek <jakub@redhat.com> * libio/wfiledoalloc.c (_IO_wfile_doallocate): Measure size in wide characters, not bytes. * libio/tst_putwc.c (do_test): Add test for writing lots of data into file. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * locale/nl_langinfo.c (nl_langinfo): Accept items belonging to the new categories LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION. * locale/xlocale.h (struct __locale_struct): Increase size of __locales array. * locale/duplocale.c (__duplocale): Copy newly added categories as well. * locale/freelocale.c (__freelocale): Free newly added categories. * locale/newlocale.c (__newlocale): Fix typo in sanity check. If a base is given, use it, don't simply return it. 2000-07-22 Bruno Haible <haible@clisp.cons.org> * crypt/md5-crypt.c (__md5_crypt_r): Avoid gcc warnings: Use pointer variables, copied_key and copied_salt, instead of boolean variables.
2000-07-16Update.Ulrich Drepper
2000-07-16 Ulrich Drepper <drepper@redhat.com> * crypt/md5-crypt.c (__md5_crypt_r): Add casts for first parameters of memset calls to avoid warnings. * stdlib/Makefile: Rewrite rules to avoid running isomac unless necessary. * iconv/gconv_open (__gconv_open): Initialize whole __gconv_trans_data
2000-07-06Regenerated: autoconf configure.inUlrich Drepper
2000-07-05Update.Ulrich Drepper
* crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt string got copied in. Patch by Solar Designer <solar@false.com>. 2000-07-05 Andreas Jaeger <aj@suse.de> * manual/install.texi (Installation): Update information about add-ons. (Configuring and compiling): Update for glibc 2.2. 2000-07-04 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value. (_FPU_IEEE): Likewise. * math/Makefile (tests): Add test-fpucw. * math/test-fpucw.c (main): New file. 2000-07-05 Ulrich Drepper <drepper@redhat.com>
2000-07-04Update.Ulrich Drepper
2000-07-04 Ulrich Drepper <drepper@redhat.com> * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt are not aligned to alignof(md5_uint32) do it before calling __md5_process_bytes. * crypt/md5.c: Make sure buffers are aligned. * crypt/md5.h: Likewise. Reported by Solar Designer <solar@false.com>. * crypt/Makefile: Add dependencies for test programs. * Rules: Define LC_ALL=C in environments of all programs we run. * intl/tst-gettext.sh (LC_ALL): Define to C and export. 2000-07-03 H.J. Lu <hjl@gnu.org> * locale/programs/ld-ctype.c (ctype_output): The size of iov is 2 + elem + offset, not 2 + elem + offset + 2. 2000-07-04 Ulrich Drepper <drepper@redhat.com> * posix/fnmatch_loop.c: Fix two problems uncovered by the new test suite. * posix/Makefile (tests): Add tst-fnmatch. (tst-fnmatch-ENV): Define. * posix/tst-fnmatch.c: New file. * posix/tst-fnmatch.sh: New file.
2000-06-21* tst-trans.c: Include <stdlib.h> and <string.h>.Andreas Jaeger
2000-06-21 Andreas Jaeger <aj@suse.de> * tst-trans.c: Include <stdlib.h> and <string.h>.
2000-06-14Update.Ulrich Drepper
* crypt/Makefile (distribute): Add md5.h.
2000-06-14Update.Ulrich Drepper
* crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h, ufc.c, speeds.c, README.ufc-crypt, and Banner. * sysdeps/sparc/Subdirs: New file. * locale/Makefile (distribute): Add weightwc.h and programs/localedef.h. * time/Makefile (distribute): Add datemsk. * sysdeps/ia64/Dist: Add softpipe.h. * sysdeps/unix/sysv/aix/Dist: New file. * posix/setpgrp.c: Moved to... * sysdeps/generic/setpgrp.c: ...here. New file. * io/mknod.c: Moved to... * sysdeps/generic/mknod.c: ...here. New file. * sysdeps/unix/sysv/linux/ia64/Dist: New file. * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h. * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c. * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S. * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h. * posix/Makefile (routines): Add spawnattr_getsigmask, spawnattr_getschedpolicy, spawnattr_getschedparam, spawnattr_setsigmask, spawnattr_setschedpolicy, and spawnattr_setschedparam. * posix/Versions: Add posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and posix_spawnattr_setschedparam. * posix/spawnattr_setschedparam.c: Fix typo. * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask): Correct typo. * login/programs/utmpd.c: Removed. * login/programs/utmpd.h: Removed. * login/programs/utmpd-private.h: Removed. * Makefile (distribute): Add include/db_185.h and include/db.h. * iconvdata/Makefile (distribute): Add iso-ir-165.c and iso-ir-165.h. * elf/Makefile (distribute): Add missing files. * dlfcn/Makefile: Add back rules to include eval in libdl.so. * elf/eval.c: Moved to... * dlfcn/eval.c: ...here. New file. * Makefile (distribute): Also distribute ChangeLog.1?.
2000-04-28Update.Ulrich Drepper
* wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s == NULL. Little optimization. * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not DT_PREINIT_ARRAYSZ). Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
2000-03-04* Makeconfig (rpath-dirs): Add crypt. Geoff Keating
(all-subdirs): Remove md5crypt. * crypt/sysdeps/unix/crypt.c: Move to crypt/. * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. * sysdeps/generic/crypt-entry.c: Delete. * crypt/sysdeps/unix/crypt.h: Move to crypt/. * sysdeps/generic/crypt.h: Delete. * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. * sysdeps/generic/des_impl.c: Delete. * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. * crypt/sysdeps: Delete. * crypt/crypt_util.c: Don't use `patchlevel.h'. * md5-crypt/Versions: Move to crypt/. * md5-crypt/md5-crypt.c: Move to crypt/. * md5-crypt/md5.c: Move to crypt/. * md5-crypt/md5c-test.c: Move to crypt/. * md5-crypt/md5test.c: Move to crypt/. * md5-crypt: Delete. * crypt/Makefile: Adjust for new structure. 2000-03-03 Geoff Keating <geoffk@cygnus.com> * Makeconfig (rpath-dirs): Add crypt. (all-subdirs): Remove md5crypt. * crypt/sysdeps/unix/crypt.c: Move to crypt/. * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/. * sysdeps/generic/crypt-entry.c: Delete. * crypt/sysdeps/unix/crypt.h: Move to crypt/. * sysdeps/generic/crypt.h: Delete. * crypt/sysdeps/unix/crypt-private.h: Move to crypt/. * crypt/sysdeps/unix/crypt_util.c: Move to crypt/. * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/. * sysdeps/generic/des_impl.c: Delete. * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/. * crypt/sysdeps: Delete. * crypt/crypt_util.c: Don't use `patchlevel.h'. * md5-crypt/Versions: Move to crypt/. * md5-crypt/md5-crypt.c: Move to crypt/. * md5-crypt/md5.c: Move to crypt/. * md5-crypt/md5c-test.c: Move to crypt/. * md5-crypt/md5test.c: Move to crypt/. * md5-crypt: Delete. * crypt/Makefile: Adjust for new structure.
2000-03-01Remove K&R compatibility support.Ulrich Drepper
2000-02-29Update.Ulrich Drepper
* io/creat.c: Moved to... * sysdeps/generic/creat.c: ...here. * io/creat64.c: Moved to... * sysdeps/generic/creat64.c: ...here.
2000-02-29Update.Ulrich Drepper
* crypt/crypt.texi: Moved to... * crypt/examples/genpass.c: Moved to... * manual/examples/genpass.c: ...here. * crypt/examples/mygenpass.c: Moved to... * manual/examples/mygenpass.c: ...here. * crypt/examples/testpass.c: Moved to... * manual/examples/testpass.c: ...here. * manual/Makefile (chapters): Add crypt. * manual/conf.texi: Add usual header for not-last chapter. * manual/crypt.texi: Add special header for last chapter.
2000-02-29Moved into manual subdir.Ulrich Drepper
2000-02-29* Makeconfig (all-subdirs): Add 'crypt' subdirectory. * ↵Geoff Keating
sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't complain if there is no crypt add-on. * crypt/configure: Removed. * crypt/crypt.texi: Update documentation of US export restrictions to match the 14 Jan 2000 regulations. 2000-02-28 Geoff Keating <geoffk@cygnus.com> * Makeconfig (all-subdirs): Add 'crypt' subdirectory. * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't complain if there is no crypt add-on. * crypt/configure: Removed. * crypt/crypt.texi: Update documentation of US export restrictions to match the 14 Jan 2000 regulations. 2000-02-28 Geoff Keating <geoffk@cygnus.com> * crypt: New subdirectory, merged in from the crypt add-on.