opnsense-src/lib
Dag-Erling Smørgrav 5280a31478 r261913 broke DES passwords, because the only way they could work,
since they don't have an easily recognizable signature, was if they
were the default.  This commit rewrites crypt_set_format(3) etc to
address this:

 - Use a pointer instead of an index to identify the default format.
   This pointer is initialized at compile time to point to the first
   first element in the list of supported formats, eliminating the
   need for crypt_setdefault().  Using a pointer also simplifies
   iterating through the list.

 - Associate DES with the magic string "_", which takes care of the
   Extended DES format.

 - Finally, as a special case, if the salt does not match any known
   magic string but matches ^[./0-9A-Za-z]{13}$, it is assumed to be a
   DES password and is passed on to crypt_des().

MFC after:	1 week
2014-04-26 11:50:25 +00:00
..
atf Add atf m4 files from the vendor branch. 2014-04-01 13:47:08 +00:00
clang Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process 2014-03-26 22:30:38 +00:00
csu Use the size of the MACHINE_ARCH string instead of sizeof(uint32_t). It can 2013-10-27 23:48:59 +00:00
libalias A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libarchive NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libauditd NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
libbegemot A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libblocksruntime Import libcompiler_rt into HEAD and add Makefiles. 2010-11-11 15:13:11 +00:00
libbluetooth General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libbsdstat libbsdstat: fix warnings, set WARNS 2014-03-11 01:10:44 +00:00
libbsm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libbsnmp Add missing DPADD 2013-01-01 18:29:25 +00:00
libbz2 A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libc libc/stdio: Fail fdopen() on an execute-only fd. 2014-04-21 17:40:23 +00:00
libc++ Import libc++ 3.4 release. This contains a lot of bugfixes, and some 2014-01-30 07:44:22 +00:00
libc_nonshared Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libcalendar A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcam Bump libcam shared library version forgotten in r259397. 2013-12-15 15:51:05 +00:00
libcapsicum Fix err() usage in libcapsicum(3) example. 2014-04-14 18:14:09 +00:00
libcasper Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
libcom_err - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
libcompat A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcompiler_rt Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
libcrypt r261913 broke DES passwords, because the only way they could work, 2014-04-26 11:50:25 +00:00
libcxxrt Add missing C++11 typeinfos to the libcxxrt version script. 2014-01-11 19:02:17 +00:00
libdevinfo sys/rman.h now requires sys/types.h. Include it to make the API match 2011-02-10 04:53:09 +00:00
libdevstat Fix a typo. 2013-12-25 19:38:16 +00:00
libdwarf Bump SHLIB_MAJOR for libdwarf as ABI/API has changed. 2014-01-21 21:11:07 +00:00
libedit Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
libefi A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libelf Bump SHLIB_MAJOR for libelf. 2014-01-21 21:13:13 +00:00
libexecinfo Don't install private libexecinfo headers 2013-09-03 13:31:43 +00:00
libexpat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
libfetch Support Last-Modified behind proxies which return UTC instead of GMT. 2014-03-11 13:47:11 +00:00
libgeom Since there's no defined schema for the XML that's generated by the 2013-07-19 06:42:15 +00:00
libgpib mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libgssapi mdoc: add missing -width argument to Bl -tag. 2012-06-08 12:09:00 +00:00
libiconv Split the last gcc-specific flags off into CFLAGS.gcc. This also 2014-01-05 21:03:49 +00:00
libiconv_modules Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libipsec Add a missing break in the TCP case. 2014-04-17 10:27:18 +00:00
libjail Fix some memory allocation errors: 2012-10-04 19:07:05 +00:00
libkiconv The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
libkvm Add a new ARM TARGET_ARCH, armv6hf. This is considered experimental. 2014-03-23 12:49:25 +00:00
libldns LDNS needs OpenSSL. This wasn't a problem as long as it was only build 2013-09-08 19:39:18 +00:00
liblzma Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3) 2011-07-11 14:15:27 +00:00
libmagic r235638 is not the clean way to add support for building on ancient FreeBSD 2012-09-11 22:38:33 +00:00
libmandoc Merge mdocml v1.12.3 into head 2014-02-01 09:27:57 +00:00
libmd Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
libmemstat Expose real size of UMA allocations via libmemstat(3). 2014-02-10 20:09:10 +00:00
libmilter A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libmp Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libnandfs Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
libnetbsd Add libnetbsd, a thin compatibility layer intended to allow a limited 2012-12-21 20:37:38 +00:00
libnetgraph make sure that rbuf is aligned by making a union w/ the structure we 2014-01-07 23:01:05 +00:00
libngatm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libnv libnv: Don't lose big-endian flag when receiving a message. 2014-04-01 21:30:54 +00:00
libopie X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
libpam Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libpcap MFV: libpcap 1.4.0. 2013-05-30 08:02:00 +00:00
libpjdlog Move my simple logging API to a separate library. It is now already used 2013-12-01 09:41:06 +00:00
libpmc Update hwpmc to support core events for Atom Silvermont microarchitecture. 2014-03-20 20:51:08 +00:00
libproc Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the 2014-04-14 00:24:04 +00:00
libprocstat Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
libradius mdoc sweep. 2013-05-12 22:22:12 +00:00
librpcsec_gss Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
librpcsvc Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
librt Convert this piece of code to use C11 atomics. 2013-06-30 08:59:33 +00:00
librtld_db Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libsbuf Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map. 2013-04-11 19:50:10 +00:00
libsdp Change the SDP_GET* macros to cast to a const buffer. 2011-10-16 08:45:16 +00:00
libsm Add new sendmail 8.14.8 file 2014-01-26 23:40:31 +00:00
libsmb Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
libsmdb A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libsmutil A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libstand Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
libstdbuf Remove WARNS=6 lines. 2012-10-18 15:39:29 +00:00
libstdthreads Pull up vendor changes to mdoc(7) 2012-01-05 21:36:12 +00:00
libtacplus mdoc sweep. 2013-05-12 22:22:12 +00:00
libtelnet - Do not use deprecated krb5 error message reporting functions in libtelnet. 2012-04-06 00:03:45 +00:00
libthr Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. 2014-04-05 17:54:43 +00:00
libthread_db Ensure we set all fpu registers to zero by using the address and size of 2013-08-17 14:42:40 +00:00
libucl Update to 20140321 2014-03-22 17:28:14 +00:00
libufs Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. 2011-12-08 12:31:47 +00:00
libugidfw Quiet clang warnings by using string literal format strings. 2011-01-04 13:02:52 +00:00
libulog Properly use SHA1_Final() instead of SHA_Final(). 2012-04-19 15:28:15 +00:00
libunbound Build and install the Unbound caching DNS resolver daemon. 2013-09-15 14:51:23 +00:00
libusb Tune buffer sizes for SuperSpeed USB when using LibUSB v0.1 and v1.0 2014-04-11 14:11:55 +00:00
libusbhid Restore handling of the third argument (id) of hid_start_parse(), same as 2012-09-20 18:56:27 +00:00
libutil libutil/pw_util.3: Fix two prototypes. 2014-02-13 05:13:22 +00:00
libvgl Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libvmmapi Add support for emulating the slave PIC. 2014-04-14 19:00:20 +00:00
libwrap A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
liby A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libypclnt Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
libz Add a manual page for zopen(3) provided by our libz.so. 2014-03-06 00:25:21 +00:00
msun Only build the vfp/softfp switching code on armv6 as we don't support vfp 2014-03-16 09:40:05 +00:00
ncurses Eliminate last vestigies of NO_MAN= in the tree. Also, remove 2014-04-25 19:25:05 +00:00
tests Install category Kyuafiles from their category directories. 2013-11-08 14:29:06 +00:00
Makefile lib: Remove duplicate SUBDIR libnv. 2014-04-05 19:48:19 +00:00
Makefile.inc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00