Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove gratuitous differences, ok beck bcook | deraadt | 2014-07-12 | 4 | -24/+24 |
| | |||||
* | Split arc4random_uniform into it's own file, to assist other projects | deraadt | 2014-07-12 | 3 | -39/+60 |
| | | | | | | now using this as upstream code. The particular problem is systems that contain older arc4random derivations lacking arc4random_uniform(). ok tedu miod | ||||
* | Solaris uses a symbolic link for /dev/urandom which harms best practice of | beck | 2014-07-12 | 2 | -36/+68 |
| | | | | | using O_NOFOLLOW - cope with it as best as possible by trying two different paths. - written by deraadt@ and kettenis@ | ||||
* | Remove remnants from PSK, KRB5 and SRP. | jsing | 2014-07-12 | 16 | -318/+86 |
| | | | | ok beck@ miod@ | ||||
* | typos | miod | 2014-07-12 | 6 | -10/+10 |
| | |||||
* | Place comments in a block above the if statement, rather than attempting | jsing | 2014-07-12 | 4 | -94/+126 |
| | | | | | to interleave them within the conditions. Also fix wrapping and indentation. | ||||
* | Make disabling last cipher work. | guenther | 2014-07-12 | 2 | -18/+18 |
| | | | | | From Thijs Alkemade via OpenSSL trunk ok miod@ | ||||
* | -DOPENSSL_NO_KRB5 is no longer needed | deraadt | 2014-07-12 | 1 | -2/+2 |
| | | | | ok guenther | ||||
* | odds are that some ABI change occured today, no matter how careful everyone | deraadt | 2014-07-12 | 2 | -2/+2 |
| | | | | is | ||||
* | enough churn, a crank is advised by guenther.. | deraadt | 2014-07-12 | 2 | -2/+2 |
| | |||||
* | Initial version of libressl - a library that provides a clean, simple, | jsing | 2014-07-12 | 9 | -0/+847 |
| | | | | | | | | | | consistent and secure-by-default API for SSL clients (and soon servers). This is a long way from complete and the interface will likely change substantially - committing now so that further work can happen in the tree. Initiated by tedu@ and inspired by discussions with tedu@, beck@ and other developers. | ||||
* | As reported by David Ramos, most consumer of ssl_get_message() perform late | miod | 2014-07-11 | 6 | -106/+296 |
| | | | | | | | | | | | | | | | | | | bounds check, after reading the 2-, 3- or 4-byte size of the next chunk to process. But the size fields themselves are not checked for being entirely contained in the buffer. Since reading past your bounds is bad practice, and may not possible if you are using a secure memory allocator, we need to add the necessary bounds check, at the expense of some readability. As a bonus, a wrong size GOST session key will now trigger an error instead of a printf to stderr and it being handled as if it had the correct size. Creating this diff made my eyes bleed (in the real sense); reviewing it made guenther@'s and beck@'s eyes bleed too (in the literal sense). ok guenther@ beck@ | ||||
* | Provide LIBRESSL_VERSION_NUMBER for people who use such things to | beck | 2014-07-11 | 2 | -2/+4 |
| | | | | | detect versions distinct from OPENSSL_BLAH_WOOF.. ok jsing@ tedu@ deraadt@ | ||||
* | Another regress test for OpenSSL PR #3397 (Joyent 7704), from agl via OpenSSL | miod | 2014-07-11 | 1 | -0/+57 |
| | | | | RT. | ||||
* | Regression test for PKCS5_PBKDF2_HMAC(), written by Christian Heimes ; from | miod | 2014-07-11 | 3 | -1/+224 |
| | | | | OpenSSL trunk | ||||
* | missing \ | deraadt | 2014-07-11 | 1 | -2/+2 |
| | |||||
* | formatting | beck | 2014-07-11 | 1 | -4/+6 |
| | | | | ok bcook@ | ||||
* | add comment about format requirements | beck | 2014-07-11 | 1 | -1/+3 |
| | | | | ok miod@ | ||||
* | Modify formatting to make portable's life a lot easier. | beck | 2014-07-11 | 1 | -7/+6 |
| | | | | ok miod@ bcook@ | ||||
* | adapt addapt spelling to adapt; request from miod | deraadt | 2014-07-11 | 2 | -6/+6 |
| | |||||
* | Huge documentation update for libcrypto and libssl, mostly from Matt Caswell, | miod | 2014-07-11 | 100 | -283/+2781 |
| | | | | | | Jeff Trawick, Jean-Paul Calderone, Michal Bozon, Jeffrey Walton and Rich Salz, via OpenSSL trunk (with some parts not applying to us, such as SSLv2 support, at least partially removed). | ||||
* | If the application uses tls_session_secret_cb for session resumption, set | miod | 2014-07-11 | 2 | -4/+6 |
| | | | | the CCS_OK flag. From OpenSSL trunk. | ||||
* | Avoid invoking EVP_CIPHER_CTX_cleanup() on uninitialized memory; from | miod | 2014-07-11 | 2 | -4/+4 |
| | | | | Coverity via OpenSSL trunk | ||||
* | Fix a memory leak in BIO_free() which no current BIO can trigger; OpenSSL | miod | 2014-07-11 | 2 | -8/+6 |
| | | | | PR #3439 via OpenSSL trunk | ||||
* | Prevent infinite loop during configuration file parsing; OpenSSL PR #2985 | miod | 2014-07-11 | 2 | -4/+4 |
| | | | | via OpenSSL trunk. | ||||
* | Missing bounds check in do_PVK_body(); OpenSSL RT #2277, from OpenSSL trunk, | miod | 2014-07-11 | 2 | -8/+20 |
| | | | | but without a memory leak. | ||||
* | OPENSSL_ALGORITHM_DEFINES has been removed from conf.h, no need for it now | tedu | 2014-07-11 | 2 | -16/+4 |
| | |||||
* | In RSA_eay_private_encrypt(), correctly return the smaller BN; OpenSSL | miod | 2014-07-11 | 2 | -4/+4 |
| | | | | PR #3418 via OpenSSL trunk | ||||
* | In ssl3_get_cert_verify(), allow for larger messages to accomodate keys | miod | 2014-07-11 | 2 | -6/+4 |
| | | | | | larger than 4096-bit RSA which the most paranoid of us are using; OpenSSL PR #319 via OpenSSL trunk. | ||||
* | it has been 4888 days since the transient feature to define short macros | tedu | 2014-07-11 | 2 | -116/+2 |
| | | | | | for apps that haven't had time to make the appropriate changes was added. time's up. | ||||
* | Apparently better fix for OpenSSL PR #3397 (Joyent bug #7704), from OpenSSL | miod | 2014-07-11 | 2 | -4/+4 |
| | | | | trunk | ||||
* | Also make these files parsable by pod2man.. | beck | 2014-07-11 | 1 | -6/+6 |
| | | | | ok bcook@ | ||||
* | Make this file parsable by pod2man without errors. | beck | 2014-07-11 | 1 | -6/+6 |
| | | | | ok bcook@ | ||||
* | In ASN1_get_object(), reject primitive encodings using the indefinite length | miod | 2014-07-11 | 2 | -2/+8 |
| | | | | constructed form. OpenSSL PR #2438 via OpenSSL trunk | ||||
* | Fix copy for CCM, GCM and XTS. | miod | 2014-07-11 | 2 | -24/+140 |
| | | | | | | | | Internal pointers in CCM, GCM and XTS contexts should either be NULL or set to point to the appropriate key schedule. This needs to be adjusted when copying contexts. OpenSSL PR #3272 with further fixes, from OpenSSL trunk | ||||
* | i'm a dumbdumb. fix build. | tedu | 2014-07-11 | 28 | -30/+30 |
| | |||||
* | In asn1_get_length(), tolerate leading zeroes in BER encoding. | miod | 2014-07-11 | 2 | -10/+16 |
| | | | | OpenSSL PR #2746 via OpenSSL trunk | ||||
* | In EVP_PBE_alg_add don't use the underlying NID for the cipher | miod | 2014-07-11 | 2 | -4/+4 |
| | | | | as it may have a non-standard key size; OpenSSL PR #3206 via OpenSSL trunk. | ||||
* | additional features: no buffer freelists and no heartbleed | tedu | 2014-07-11 | 2 | -0/+6 |
| | |||||
* | no compression is also a feature of libressl | tedu | 2014-07-11 | 2 | -0/+8 |
| | |||||
* | move all the feature settings to a common header. | tedu | 2014-07-11 | 31 | -1875/+176 |
| | | | | probably ok beck jsing miod | ||||
* | Tolerate critical AKID in CRLs; OpenSSL PR #3014 via OpenSSL trunk, and | miod | 2014-07-11 | 2 | -14/+16 |
| | | | | also update the comments to reflect what the code now does. | ||||
* | Fix OID encoding for single components. OpenSSL PR #2556 via OpenSSL trunk. | miod | 2014-07-11 | 2 | -2/+2 |
| | | | | (be sure to make cleandir and make includes before building) | ||||
* | More memory leaks and unchecked allocations; OpenSSL PR #3403 via OpenSSL | miod | 2014-07-11 | 8 | -14/+38 |
| | | | | trunk. (note we had already fixed some of the issues in that PR independently) | ||||
* | Fix incorrect duplicate mlinks | beck | 2014-07-11 | 1 | -8/+1 |
| | | | | ok bcook@ | ||||
* | Make sure BN_sqr never returns negative numbers. | miod | 2014-07-11 | 2 | -2/+4 |
| | | | | OpenSSL PR #3400 via OpenSSL trunk. | ||||
* | Accept CCS again after `finished' has been sent by the client; at this point | miod | 2014-07-11 | 2 | -10/+12 |
| | | | | | | | keys have been correctly set up so it is ok to accept CCS from the server. Without renegotiation can sometimes fail. OpenSSL PR #3400 via OpenSSL trunk. | ||||
* | Correct incorrect mlinks | beck | 2014-07-11 | 1 | -5/+1 |
| | | | | ok bcook@ | ||||
* | In dtls1_clear_queues(), free buffered_add_data.q correctly, it's made of | miod | 2014-07-11 | 2 | -8/+8 |
| | | | | | | DTLS1_RECORD_DATA, not hm_fragment. OpenSSL PR #3286 via OpenSSL trunk. | ||||
* | Fix incorrect mlinks | beck | 2014-07-11 | 1 | -3/+1 |
| | | | | ok bcook@ |