Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add simple strlcpy regress | millert | 2014-12-02 | 3 | -3/+123 |
| | |||||
* | convert select() to poll(). This is one of the most complicated | deraadt | 2014-12-02 | 2 | -40/+63 |
| | | | | | | conversions in the tree, because the original code is very rotten and fragile. Please test and report any failures. Assistance from millert, bcook, and jsing. | ||||
* | Conversion of braindead select() path to braindead poll() path. | deraadt | 2014-12-02 | 1 | -17/+17 |
| | | | | Also looked at by bcook | ||||
* | Add simple strlcat regress | millert | 2014-12-02 | 3 | -2/+124 |
| | |||||
* | Add strnlen to SUBDIRS so we actually run its tests. | millert | 2014-12-02 | 1 | -2/+2 |
| | |||||
* | add some openbsd tags, and a first pass at cleanup; | jmc | 2014-12-02 | 166 | -210/+708 |
| | |||||
* | macro cleanup; kaspars at bankovskis dot net | schwarze | 2014-12-02 | 2 | -49/+55 |
| | |||||
* | Replace all 14 instances of .St -ansiC-99 in our tree with .St -isoC-99. | schwarze | 2014-11-30 | 11 | -33/+33 |
| | | | | | | The former is not used anywhere in NetBSD, FreeBSD, or DragonFly and not supported by groff, so i'm going to delete it from mandoc(1). We don't need two macros for the same thing. | ||||
* | obvious STANDARDS update | schwarze | 2014-11-30 | 2 | -14/+10 |
| | |||||
* | restructure libc/string + libc/arch/*/string coperation regarding | deraadt | 2014-11-30 | 8 | -155/+309 |
| | | | | | | | | | | | | | | | | (potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod | ||||
* | Remove non-portable use of .Pf that doesn't work with groff; | schwarze | 2014-11-30 | 2 | -16/+8 |
| | | | | found because the groff_mdoc(7) macros warn about it. | ||||
* | Ensure that sess_cert is not NULL at the start of | jsing | 2014-11-27 | 2 | -50/+18 |
| | | | | | | | ssl3_send_client_key_exchange(), rather than checking it in the key exchange algorithm specific code. ok beck@ miod@ | ||||
* | Avoid a double-free in an error path. | jsing | 2014-11-27 | 2 | -4/+2 |
| | | | | | | Reported by Felix Groebert of the Google Security Team. ok beck@ miod@ | ||||
* | Avoid a NULL dereference in the DTLS client that can be triggered by a | jsing | 2014-11-27 | 2 | -2/+18 |
| | | | | | | | | | | | | crafted server response used in conjunction with an anonymous DH or anonymous ECDH ciphersuite. Fixes CVE-2014-3510, which is effectively a repeat of CVE-2014-3470 in copied code. Reported by Felix Groebert of the Google Security Team. ok beck@ miod@ | ||||
* | prefer memcmp to bcmp. | bcook | 2014-11-26 | 1 | -2/+2 |
| | | | | ok tedu@ miod@ deraadt@ | ||||
* | remove superflous gettimeofday wrapper. | bcook | 2014-11-26 | 2 | -18/+4 |
| | | | | ok beck@ tedu@ miod@ guenther@ doug@ deraadt@ | ||||
* | memset like a normal human. | bcook | 2014-11-26 | 2 | -20/+20 |
| | | | | ok beck@ tedu@ miod@ | ||||
* | normalize set/getsockopt usage. | bcook | 2014-11-26 | 6 | -90/+54 |
| | | | | | | | | | | Remove the remaining random casts on optval. Fixups for this can be handled by the portability layer all in once place. Remove remaining fake socklen_t unions, though beck@ points out that this also removes support for socklen_t changing its length at runtime. RIP. ok tedu@ beck@ miod@ deraadt@ | ||||
* | Linux has had IP_MTU since 2005, don't force it. | bcook | 2014-11-26 | 2 | -16/+8 |
| | | | | ok beck@ miod@ tedu@ deraadt@ | ||||
* | rand() is a pseudo-random number generator | millert | 2014-11-25 | 1 | -3/+3 |
| | |||||
* | Don't describe random() as "better". | millert | 2014-11-25 | 1 | -5/+5 |
| | | | | | Remove the bug about rand() being faster. Add a bug about historical implementations seeding very poorly. | ||||
* | Warn people to use arc4random() in DESCRIPTION so they see it using | millert | 2014-11-25 | 1 | -5/+8 |
| | | | | the same text from random.3. | ||||
* | rand48(3) not drand48(3) to align with the actual man page and Xr | millert | 2014-11-25 | 1 | -3/+3 |
| | | | | entries. | ||||
* | no need for md5 xr | tedu | 2014-11-25 | 1 | -3/+2 |
| | |||||
* | revert the bludgeoning of DES. if we need a thread safe crypt, maybe it's | tedu | 2014-11-25 | 1 | -31/+33 |
| | | | | better to find one instead of continuing to mangle this mess. | ||||
* | push some global data down into functions to make this threadlier. | tedu | 2014-11-25 | 1 | -33/+31 |
| | | | | only doing what's needed for crypt_hashpass. sigh. | ||||
* | introduce a hashspace define and check that there's enough space to | tedu | 2014-11-24 | 1 | -15/+10 |
| | | | | write out a hash. also simplify writing out the hash. | ||||
* | check crypt() for null. noticed by Jonas Termansen | tedu | 2014-11-24 | 1 | -2/+2 |
| | |||||
* | Mention the -no_tls1_[12] options | guenther | 2014-11-23 | 1 | -6/+10 |
| | |||||
* | mop up a barely started project... getting in the way of grepping the tree! | deraadt | 2014-11-22 | 2 | -8/+0 |
| | |||||
* | Fix incorrect escape. | bentley | 2014-11-22 | 2 | -4/+4 |
| | |||||
* | MPE support, begone. ok tedu | deraadt | 2014-11-21 | 2 | -4/+4 |
| | |||||
* | space needed between macro args and punctuation; | jmc | 2014-11-21 | 1 | -2/+2 |
| | |||||
* | add ERRORS, HISTORY, AUTHORS, Copyright year, and some missing macros; | schwarze | 2014-11-21 | 1 | -6/+39 |
| | | | | ok tedu@ on a previous version | ||||
* | Let crypt_checkpass() set EACCES after bcrypt_checkpass() failure; | schwarze | 2014-11-21 | 1 | -2/+4 |
| | | | | ok tedu@ | ||||
* | change prototype for crypt_newhash. the login_cap_t is a holdover from its | tedu | 2014-11-21 | 2 | -15/+10 |
| | | | | | | pwd_gensalt origins, but a string argument works equally work and is more friendly to consumers beyond local user accounts. ok deraadt | ||||
* | Oops, make sure camellia is compiled on platforms without an arch-specific | miod | 2014-11-20 | 1 | -1/+2 |
| | | | | Makefile.inc (i.e. landisk and m88k) | ||||
* | split crypt_checkpass off into a new file | tedu | 2014-11-20 | 3 | -36/+73 |
| | |||||
* | Document behavior of atexit() when called in a DSO that is later unloaded. | guenther | 2014-11-20 | 1 | -2/+14 |
| | | | | | | | | Would be nice to document when/where this originated (in glibc?) if anyone knows... tweaks by schwarze@ ok jmc@ espie@ kettenis@ schwarze@ dimitry(at)google.com | ||||
* | Nuke yet more obvious #include duplications. | krw | 2014-11-19 | 2 | -6/+2 |
| | | | | ok deraadt@ | ||||
* | include camellia.h using the public include path | bcook | 2014-11-19 | 2 | -4/+4 |
| | |||||
* | Fix a memory leak with pkey in client key exchange | doug | 2014-11-19 | 2 | -2/+4 |
| | | | | | | Based on boringssl commit: 1df112448b41c3568477f3fcd3b8fc820ce80066 ok miod@ jsing@ | ||||
* | add crypt_newhash to NAME and add an MLINK; | jmc | 2014-11-18 | 2 | -4/+6 |
| | |||||
* | GOST regression tests; from Dmitry Eremin-Solenikov | miod | 2014-11-18 | 3 | -1/+18 |
| | |||||
* | Argh, another bug introduced in r1.3; Dmitry Eremin-Solenikov | miod | 2014-11-18 | 2 | -4/+4 |
| | |||||
* | Nuke more obvious #include duplications. | krw | 2014-11-18 | 1 | -2/+1 |
| | | | | ok deraadt@ millert@ tedu@ | ||||
* | Update the GOST code in libssl, as contributed by Dmitry Eremin-Solenikov. | miod | 2014-11-18 | 26 | -146/+594 |
| | | | | | This causes a libssl major version bump as this affects the layout of some internal-but-unfortunately-made-visible structs. | ||||
* | Enable the build of GOST routines in libcrypto. Riding upon the Cammelia | miod | 2014-11-18 | 3 | -8/+6 |
| | | | | libcrypto minor bump. | ||||
* | More missing error checks I forgot to commit last week, part of the large | miod | 2014-11-18 | 2 | -24/+46 |
| | | | | cleanup diff. | ||||
* | Return success in param_copy_gost01() if there is no private key to copy; | miod | 2014-11-18 | 2 | -4/+4 |
| | | | | | broken in r1.3. Spotted by Dmitry Eremin-Solenikov |