Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert RAND manuals from pod to mdoc | schwarze | 2016-11-03 | 11 | -196/+204 |
| | |||||
* | zap the overview manual page of the RAND subsystem | schwarze | 2016-11-03 | 2 | -36/+1 |
| | | | | | that contained nothing but duplicate and misleading information; OK jsing@ | ||||
* | convert PEM and PKCS manuals from pod to mdoc | schwarze | 2016-11-03 | 27 | -1380/+2231 |
| | |||||
* | Split ssl3_get_key_exchange() into separate functions for DHE/ECDHE. | jsing | 2016-11-03 | 1 | -205/+256 |
| | | | | ok beck@ (who was struggling to keep lunch down while reviewing the diff) | ||||
* | Don't do OCSP validation when we have disabled certificate verification | beck | 2016-11-03 | 2 | -5/+8 |
| | | | | | or certificate validation. ok jsing@ | ||||
* | convert configuration manuals from pod to mdoc | schwarze | 2016-11-03 | 9 | -305/+340 |
| | |||||
* | convert remaining ASN1 object manuals from pod to mdoc | schwarze | 2016-11-03 | 5 | -175/+299 |
| | |||||
* | Only set an error from libssl related code, if an error has not already | jsing | 2016-11-03 | 2 | -7/+47 |
| | | | | | | | | been set by libtls code. This avoids the situation where a libtls callback has set an error, only to have it replaced by a less useful libssl based error. ok beck@ | ||||
* | convert HMAC and MD5 manuals from pod to mdoc | schwarze | 2016-11-03 | 5 | -210/+393 |
| | |||||
* | convert EVP manuals from pod to mdoc | schwarze | 2016-11-03 | 49 | -2724/+4229 |
| | |||||
* | Fix handshake failures: | beck | 2016-11-03 | 1 | -20/+26 |
| | | | | | split out internals of OCSP verification to allow callback to verify before TLS handshake is complete | ||||
* | Clean up the TLS handshake digest handling - this refactors some of the | jsing | 2016-11-03 | 2 | -30/+43 |
| | | | | | | | | | | | | | | | | | | | code for improved readability, however it also address two issues. The first of these is a hard-to-hit double free that will occur if EVP_DigestInit_ex() fails. To avoid this and to be more robust, ensure that tls1_digest_cached_records() either completes successfully and sets up all of the necessary digests, or it cleans up and frees everything that was allocated. The second issue is that EVP_DigestUpdate() can fail - detect and handle this in tls1_finish_mac() and change the return type to an int so that a failure can be propagated to the caller (the callers still need to be fixed to handle this, in a later diff). The double-free was reported by Matthew Dillon. ok beck@ doug@ miod@ | ||||
* | bit more cleanup; | jmc | 2016-11-02 | 1 | -9/+9 |
| | |||||
* | fix shadow declaration of time in parameter list. | beck | 2016-11-02 | 1 | -2/+2 |
| | | | | ok jsing@ | ||||
* | Ensure handshake is complete before processing an ocsp response for a ctx | beck | 2016-11-02 | 1 | -0/+3 |
| | | | | ok jsing@ | ||||
* | tweak previous; | jmc | 2016-11-02 | 1 | -32/+26 |
| | |||||
* | convert ERR manuals from pod to mdoc; while reading this, | schwarze | 2016-11-02 | 23 | -705/+963 |
| | | | | i wtfed, laughed, puked, and cried in more or less that order... | ||||
* | bump minor for ocsp api additions | beck | 2016-11-02 | 1 | -1/+1 |
| | |||||
* | Add OCSP client side support to libtls. | beck | 2016-11-02 | 8 | -9/+641 |
| | | | | | | | | | | | | | - Provide access to certificate OCSP URL - Provide ability to check a raw OCSP reply against an established TLS ctx - Check and validate OCSP stapling info in the TLS handshake if a stapled OCSP response is provided.` Add example code to show OCSP URL and stapled info into netcat. ok jsing@ | ||||
* | convert DSA and EC manuals from pod to mdoc | schwarze | 2016-11-02 | 33 | -1241/+2658 |
| | |||||
* | Expand LHASH_OF, IMPLEMENT_LHASH_DOALL_ARG_FN and LHASH_DOALL_ARG_FN | jsing | 2016-11-02 | 2 | -7/+13 |
| | | | | macros. Only change in generated assembly is due to line numbering. | ||||
* | Expand another LHASH_OF macro. | jsing | 2016-11-02 | 1 | -2/+2 |
| | |||||
* | Expand DECLARE_LHASH_OF and LHASH_OF macros. | jsing | 2016-11-02 | 1 | -3/+5 |
| | |||||
* | Expand DECLARE_PEM_rw macro. | jsing | 2016-11-02 | 1 | -2/+7 |
| | |||||
* | Expand IMPLEMENT_LHASH_COMP_FN/IMPLEMENT_LHASH_HASH_FN macros - the only | jsing | 2016-11-02 | 1 | -5/+17 |
| | | | | change to generated assembly results from a difference in line numbers. | ||||
* | Wrap some >80 char lines. | jsing | 2016-11-02 | 1 | -9/+9 |
| | |||||
* | convert DES and DH manuals from pod to mdoc | schwarze | 2016-11-02 | 15 | -715/+1244 |
| | |||||
* | remove some old option letters and also make P non-settable. It has | otto | 2016-10-31 | 1 | -24/+6 |
| | | | | | been the default for ages, and I see no valid reason to be able to disable it. ok natano@ | ||||
* | bump to LibreSSL 2.5.1 | bcook | 2016-10-31 | 1 | -3/+3 |
| | |||||
* | Pages in the malloc cache are either reused quickly or unmapped | otto | 2016-10-28 | 1 | -14/+1 |
| | | | | | | quickly. In both cases it does not make sense to set hints on them. So remove that option, which is just a remainder of old times when malloc used to hold on to pages. ok stefan@ | ||||
* | $OpenBSD$ | tb | 2016-10-22 | 3 | -0/+3 |
| | |||||
* | - fix MALLOC_STATS compile | otto | 2016-10-22 | 1 | -3/+6 |
| | | | | - redundant cast is redundant | ||||
* | fix some void * arithmetic by casting | otto | 2016-10-21 | 1 | -4/+4 |
| | |||||
* | and recommit with fixed GC | otto | 2016-10-21 | 1 | -103/+112 |
| | |||||
* | backout for now; flag combination GC is not ok | otto | 2016-10-20 | 1 | -110/+103 |
| | |||||
* | avoid sentence splicing; | jmc | 2016-10-20 | 1 | -2/+2 |
| | |||||
* | canary corruption message changed a bit | otto | 2016-10-20 | 1 | -5/+5 |
| | |||||
* | Also place canaries in > page sized objects (if C is in effect); ok tb@ | otto | 2016-10-20 | 1 | -103/+110 |
| | |||||
* | unifdef OPENSSL_NO_CMS | jsing | 2016-10-19 | 8 | -123/+8 |
| | |||||
* | Update client hello messages to follow the removal of fixed ECDH. | jsing | 2016-10-19 | 1 | -89/+65 |
| | |||||
* | Remove support for fixed ECDH cipher suites - these is not widely supported | jsing | 2016-10-19 | 7 | -466/+42 |
| | | | | | | | | | and more importantly they do not provide PFS (if you want to use ECDH, use ECDHE instead). With input from guenther@. ok deraadt@ guenther@ | ||||
* | Remove the save_errno dance inside strerror_r(3). It is from the | bluhm | 2016-10-19 | 1 | -5/+3 |
| | | | | | time when we had national language support. OK millert@ | ||||
* | If BN_div_word() fails (by returning (BN_ULONG)-1) or if the division | guenther | 2016-10-17 | 1 | -4/+8 |
| | | | | | | | | | | fails to reduce the input in the expected space then fail out instead of overflowing the allocated buffer. combines openssl commits 28a89639da50b1caed4ff3015508f23173bf3e49 and 3612ff6fcec0e3d1f2a598135fe12177c0419582 ok doug@ beck@ | ||||
* | Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS, | tb | 2016-10-16 | 1 | -2/+4 |
| | | | | | | | | | | | | | | and add prereq targets, so some header files are generated by BUILDUSER during 'make prereq' instead of by root during 'make includes'. Switch the order of 'make cleandir' and 'make includes' during 'make build' so we don't generate many files twice. Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now clean from files generated by root during 'make build'. Those will be cleaned up in a second step. help, testing & ok deraadt, input from natano, further testing rpe | ||||
* | Roll back uintptr_t cast changes after discussions with tedu, otto and | dtucker | 2016-10-16 | 3 | -24/+7 |
| | | | | | | | | | | | | | others. C11 6.5.6.9 says: When two pointers are subtracted, both shall point to elements of the same array object, or one past the last element of the array object; the result is the difference of the subscripts of the two array elements. In these cases the objects are arrays of char so the result is defined, and we believe that the report is based on a compiler incorrectly trapping on defined behaviour. | ||||
* | Wrap _malloc_init() so internal calls go directly | guenther | 2016-10-15 | 2 | -2/+6 |
| | | | | | prodded by otto@ ok kettenis@ otto@ | ||||
* | Cast pointers to uintptr_t to avoid potential signedness errors. | dtucker | 2016-10-14 | 3 | -7/+24 |
| | | | | | Based on patch from yuanjie.huang at windriver.com via OpenSSH bz#2608, with & ok millert, ok deraadt. | ||||
* | 0xd0 -> 0xdb; ok deraadt@ millert@ tedu@ | otto | 2016-10-14 | 1 | -3/+3 |
| | |||||
* | optimize canary code a bit by storing offset of sizes table instead of | otto | 2016-10-12 | 1 | -5/+7 |
| | | | | recomputing it all the time | ||||
* | make clear the length printed is the requested length | otto | 2016-10-08 | 1 | -3/+3 |
| |