Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | zap trailing whitespace; | jmc | 2014-07-18 | 1 | -3/+3 |
| | |||||
* | Change lsearch()'s "base" argument to require a non-const pointer to | matthew | 2014-07-18 | 1 | -2/+2 |
| | | | | | | | align with POSIX and other systems. Pointed out by Elliott Hughes on tech ok deraadt | ||||
* | Seperate arc4random's os-dependent parts into static inline functions, | deraadt | 2014-07-18 | 10 | -36/+543 |
| | | | | | making it much easier for libressl -portable to fill in the gaps. ok bcook beck | ||||
* | avoid errx(); Jonas Termansen | deraadt | 2014-07-17 | 1 | -3/+5 |
| | |||||
* | avoid sys/param.h; Jonas Termansen | deraadt | 2014-07-17 | 4 | -10/+12 |
| | |||||
* | it is 2014, and we still need to encourage people away from srand() | deraadt | 2014-07-17 | 2 | -5/+14 |
| | | | | and random(). Sigh. | ||||
* | "Race-free because we're running single-threaded in a new | deraadt | 2014-07-17 | 1 | -1/+5 |
| | | | | | address space, and once allocated rs is never deallocated." document the forkhandler to save reviewers time, with matthew | ||||
* | Missing bounds check in ssl3_get_certificate_request(), was not spotted in | miod | 2014-07-17 | 2 | -2/+12 |
| | | | | 1.78; reported by Ilja Van Sprundel. | ||||
* | Free sktmp when it's no longer needed. By doing so, we fix a bunch of memory ↵ | logan | 2014-07-17 | 2 | -4/+8 |
| | | | | | | | | leaks. From miod@ OK from miod@ and guenther@ | ||||
* | Fix tlsext_tick_lifetime_hint value in test #2 to make sure the | miod | 2014-07-16 | 1 | -29/+29 |
| | | | | | (tlsext_tick_lifetime_hint > 0) test also passes on 32-bit platforms (tlsext_tick_lifetime_hint is a long). | ||||
* | Only call getauxval(3) if HAVE_GETAUXVAL is defined. Fixes build on older | kettenis | 2014-07-16 | 2 | -2/+6 |
| | | | | | | | Linux (such as Ubuntu 12.04LTS) that don't have it yet. Seems the AT_XXX defines are pulled in by <link.h> now. ok beck@ | ||||
* | do not need a variable to track locking, since all code paths have it | deraadt | 2014-07-16 | 2 | -10/+4 |
| | | | | locked throughout. | ||||
* | #ifdef wrap the _rs_forkhandler | deraadt | 2014-07-16 | 1 | -1/+3 |
| | |||||
* | added handler for an atfork hook from kettenis@ | bcook | 2014-07-16 | 1 | -1/+10 |
| | | | | ok deraadt@ beck@ kettenis@ | ||||
* | not needed anymore | deraadt | 2014-07-14 | 2 | -1173/+0 |
| | |||||
* | Fix memory leak upon error in ssl_parse_clienthello_use_srtp_ext(). | miod | 2014-07-14 | 2 | -12/+12 |
| | | | | From BoringSSL. | ||||
* | whitespace | deraadt | 2014-07-14 | 45 | -172/+172 |
| | |||||
* | Improve RAND_write_file(), chmod crud, etc. | deraadt | 2014-07-14 | 2 | -54/+38 |
| | | | | ok tedu | ||||
* | Add configuration handling for certificate and key files. | jsing | 2014-07-13 | 3 | -7/+22 |
| | |||||
* | Add stubs for the proposed server API. | jsing | 2014-07-13 | 3 | -1/+72 |
| | |||||
* | Stop leaking internal library pointers in error messages. | jsing | 2014-07-13 | 2 | -4/+4 |
| | | | | Requested by miod@ | ||||
* | Tabs, not spaces. | jsing | 2014-07-13 | 3 | -22/+22 |
| | |||||
* | Rename the context allocation from ressl_new to ressl_client, which makes | jsing | 2014-07-13 | 3 | -1/+30 |
| | | | | | it completely obvious what the context is for. Ensure client functions are used on client contexts. | ||||
* | Split the context allocation out from the configuration. This will allow | jsing | 2014-07-13 | 2 | -5/+14 |
| | | | | | | us to properly report errors that occur during configuration processing. Discussed with tedu@ | ||||
* | Move the client code into a separate file. | jsing | 2014-07-13 | 3 | -161/+185 |
| | |||||
* | Rename various configuration handling functions. | jsing | 2014-07-13 | 2 | -13/+14 |
| | | | | Requested by and discussed with tedu@. | ||||
* | Use a single ressl.h header file. | jsing | 2014-07-13 | 5 | -45/+18 |
| | | | | Discussed with beck@ and tedu@. | ||||
* | Explicitly initialise slen - this was not previously done due to a missing | jsing | 2014-07-13 | 2 | -2/+4 |
| | | | | M_ASN1_D2I_begin macro. | ||||
* | Convert error handling to SSLerr and ERR_asprintf_error_data. | jsing | 2014-07-13 | 2 | -118/+108 |
| | |||||
* | tweak previous; | jmc | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | missing bracket in previous; | jmc | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | Convert d2i_SSL_SESSION to ASN1 primitives, instead of the horrific | jsing | 2014-07-13 | 2 | -52/+594 |
| | | | | | | | asn1_mac.h macros. This still needs a lot of improvement, but immediately becomes readable. ok miod@ (sight unseen!) | ||||
* | Remove license introduced with the PSK code, which has since been removed. | jsing | 2014-07-13 | 2 | -54/+2 |
| | | | | ok deraadt@ | ||||
* | Another compression remnant. | jsing | 2014-07-13 | 2 | -4/+2 |
| | |||||
* | Expand the tlsext_sigalg macros. The end result is about the same number | jsing | 2014-07-13 | 2 | -32/+38 |
| | | | | | | of lines and much more readable. ok miod@ | ||||
* | Rewrite i2d_SSL_SESSION to use the ASN1 primitives, rather than using the | jsing | 2014-07-13 | 2 | -150/+196 |
| | | | | | | | | | | | horrific macros from asn1_mac.h. This is a classic example of using macros to obfuscate code, in an attempt to reduce the line count. The end result is so ridiculously convoluted that it is completely unreadable and it takes hours to deconstruct the macros and figure out what is actually going on behind the scenes. ok miod@ | ||||
* | Add a regress test for the ASN1 handling of SSL session tickets. | jsing | 2014-07-13 | 3 | -1/+389 |
| | |||||
* | The bell tolls for BUF_strdup - Start the migration to using | beck | 2014-07-13 | 40 | -145/+155 |
| | | | | | | intrinsics. This is the easy ones, a few left to check one at a time. ok miod@ deraadt@ | ||||
* | Fix memory leak. | logan | 2014-07-13 | 2 | -2/+4 |
| | | | | OK from beck@ and miod@ | ||||
* | OPENSSL_{malloc,free} -> {malloc,free} | miod | 2014-07-13 | 19 | -27/+27 |
| | |||||
* | Warn about the use of BUF_strdup. | miod | 2014-07-13 | 1 | -2/+4 |
| | |||||
* | Update BUGS section. | miod | 2014-07-13 | 1 | -4/+6 |
| | |||||
* | oops, i deleted the wrong word | tedu | 2014-07-13 | 1 | -2/+2 |
| | |||||
* | remove a lie spotted by guenther | tedu | 2014-07-13 | 1 | -5/+4 |
| | |||||
* | once srandomdev() is called, switch to using arc4random() but mask off the | tedu | 2014-07-13 | 1 | -12/+10 |
| | | | | | high bit as required by posix. wouldn't want to break any standards. idea and ok deraadt | ||||
* | unbreak build this needed to be an and.. | beck | 2014-07-13 | 8 | -16/+16 |
| | | | | ok jsing@ | ||||
* | Use dl_iterate_phdr() to iterate over the segments and throw the addresses | deraadt | 2014-07-13 | 4 | -4/+56 |
| | | | | | | | into the hash; hoping the system has some ASLR or PIE. This replaces and substantially improves upon &main which proved problematic with some picky linkers. Work with kettenis, testing by beck | ||||
* | Split out ntoh[ls] and hton[ls] into their own manpage. | guenther | 2014-07-13 | 3 | -136/+199 |
| | | | | | | Update byteorder(3) to cover the new functions in <endian.h> ok deraadt@ millert@ | ||||
* | Provide a link to the canonical API specification. | deraadt | 2014-07-13 | 8 | -8/+32 |
| | | | | ok beck | ||||
* | Make sure all error conditions in RSA_padding_add_PKCS1_PSS_mgf1() cause | miod | 2014-07-13 | 2 | -6/+8 |
| | | | | EVP_MD_CTX_cleanup() to be called. |