Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert CRYPTO_memcmp to timingsafe_memcmp based on current policy favoring | tedu | 2014-06-19 | 1 | -2/+2 |
| | | | | | | libc interfaces over libcrypto interfaces. for now we also prefer timingsafe_memcmp over timingsafe_bcmp, even when the latter is acceptable. ok beck deraadt matthew miod | ||||
* | ssl_session_cmp is not a sort function, can use CRYPTO_memcmp here too. | tedu | 2014-06-17 | 1 | -2/+4 |
| | |||||
* | Add an SSL_AEAD_CTX to enable the use of EVP_AEAD with an SSL cipher. | jsing | 2014-06-13 | 1 | -1/+12 |
| | | | | | | | | | Read and write contexts are also added to the SSL_CTX, along with supporting code. Based on Adam Langley's chromium diffs. Rides the recent SSL library bump. | ||||
* | Remove support for the `opaque PRF input' extension, which draft has expired | miod | 2014-06-13 | 1 | -2/+1 |
| | | | | | | | | 7 years ago and never made it into an RFC. That code wasn't compiled in anyway unless one would define the actual on-the-wire extension id bytes; crank libssl major. With help and enlightenment from Brendan MacDonell. | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 1 | -0/+1 |
| | |||||
* | More KNF. | jsing | 2014-06-07 | 1 | -6/+4 |
| | |||||
* | Some KNF and fix the vairable spelling. | jsing | 2014-05-31 | 1 | -23/+16 |
| | |||||
* | More manual OPENSSL_NO_EC and OPENSSL_NO_TLSEXT cleanup. | jsing | 2014-05-31 | 1 | -1/+1 |
| | |||||
* | unifdef -UDOXYGEN and manually remove the few doxygen comments that are not | jsing | 2014-05-31 | 1 | -31/+0 |
| | | | | | | wrapped in #ifdef DOXYGEN... Requested by miod@ | ||||
* | ECDH and ECDSA will not work overly well if there is no EC, so unifdef | jsing | 2014-05-31 | 1 | -4/+0 |
| | | | | | | OPENSSL_NO_EC. ok tedu@ | ||||
* | TLS would not be entirely functional without extensions, so unifdef | jsing | 2014-05-31 | 1 | -10/+0 |
| | | | | | | OPENSSL_NO_TLSEXT. ok tedu@ | ||||
* | remove some #if 0 code. we don't need any more reminders that we're using | tedu | 2014-05-30 | 1 | -38/+1 |
| | | | | a not quite appropriate data structure. ok jsing | ||||
* | Make use of SSL_IS_DTLS, SSL_USE_EXPLICIT_IV, SSL_USE_SIGALGS and | jsing | 2014-05-30 | 1 | -3/+1 |
| | | | | | | SSL_USE_TLS1_2_CIPHERS. Largely based on OpenSSL head. | ||||
* | Any sane platform has stdio. Stop pretending we will ever use a platform | beck | 2014-05-29 | 1 | -2/+0 |
| | | | | | that does not. "fire bomb" tedu@ | ||||
* | no space before label | tedu | 2014-05-29 | 1 | -9/+9 |
| | |||||
* | consistent braces | tedu | 2014-05-29 | 1 | -13/+13 |
| | |||||
* | unidef DH, ECDH, and ECDSA. there's no purpose to a libssl without them. | tedu | 2014-05-29 | 1 | -20/+0 |
| | | | | ok deraadt jsing | ||||
* | Make it substantially easier to identify protocol version requirements | jsing | 2014-05-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | by adding an enc_flags field to the ssl3_enc_method, specifying four flags that are used with this field and providing macros for evaluating these conditions. Currently the version requirements are identified by continually checking the version number and other criteria. This change also adds separate SSL3_ENC_METHOD data for TLS v1.1 and v1.2, since they have different enc_flags from TLS v1. Based on changes in OpenSSL head. No objection from miod@ | ||||
* | When you have functions that perform specific functions, use them. | jsing | 2014-05-29 | 1 | -18/+9 |
| | | | | | | | | EVP_CIPHER_CTX_free() does a NULL check, then calls EVP_CIPHER_CTX_cleanup() and frees the memory. COMP_CTX_free() also had its own NULL check, so there is no point in duplicating that here. ok beck@ | ||||
* | EVP_MD_CTX_create() calls malloc and can return NULL. However, only one of | jsing | 2014-05-28 | 1 | -1/+1 |
| | | | | | | | the calls in libssl actually checks the return value before using it. Add NULL checks for the remaining three calls. ok miod@ | ||||
* | There is no point in checking if a pointer is non-NULL before calling free, | jsing | 2014-05-28 | 1 | -19/+11 |
| | | | | | | | | since free already does this for us. Also remove some pointless NULL assignments, where the result from malloc(3) is immediately assigned to the same variable. ok miod@ | ||||
* | remove unused shit. from Alexander Schrijver | tedu | 2014-05-25 | 1 | -4/+0 |
| | |||||
* | Remove TLS_DEBUG, SSL_DEBUG, CIPHER_DEBUG and OPENSSL_RI_DEBUG. Much of | jsing | 2014-05-25 | 1 | -12/+0 |
| | | | | | | | this is sporadic, hacked up and can easily be put back in an improved form should we ever need it. ok miod@ | ||||
* | I'm so sorry to learn that the Diab compiler can't (or used not to) parse C | miod | 2014-05-24 | 1 | -5/+1 |
| | | | | code. Remove workaround. | ||||
* | Use C99 initialisers for SSL3_ENC_METHOD structs. | jsing | 2014-05-24 | 1 | -16/+19 |
| | | | | ok miod@ | ||||
* | Stop including kssl_lcl.h and nuke it from orbit - it is a no-op now. | jsing | 2014-05-22 | 1 | -1/+0 |
| | | | | ok beck@ miod@ | ||||
* | Remove SRP and Kerberos support from libssl. These are complex protocols | tedu | 2014-05-05 | 1 | -27/+0 |
| | | | | | all on their own and we can't effectively maintain them without using them, which we don't. If the need arises, the code can be resurrected. | ||||
* | Nuke OPENSSL_NO_SOCK since any half sane operating system has sockets. | jsing | 2014-05-02 | 1 | -2/+0 |
| | | | | ok beck@ | ||||
* | More KNF, things that couldn't be verified with md5(1), and some whitespace | mcbride | 2014-04-24 | 1 | -108/+111 |
| | | | | I missed on the first go around. | ||||
* | KNF | mcbride | 2014-04-24 | 1 | -291/+416 |
| | |||||
* | more malloc/realloc/calloc cleanups; ok beck kettenis | deraadt | 2014-04-21 | 1 | -5/+2 |
| | |||||
* | Chop off more SSLv2 tentacles and start fixing and noting y2038 issues. | guenther | 2014-04-20 | 1 | -5/+2 |
| | | | | | | | APIs that pass times as longs will have to change at some point... Bump major on both libcrypto and libssl. ok tedu@ | ||||
* | More KNF and style consistency tweaks | guenther | 2014-04-19 | 1 | -69/+71 |
| | |||||
* | whack a bunch of disabled code. ok beck lteo | tedu | 2014-04-17 | 1 | -8/+0 |
| | |||||
* | always build in RSA and DSA. ok deraadt miod | tedu | 2014-04-17 | 1 | -6/+0 |
| | |||||
* | kill REF_PRINT/REF_CHECK debugging framework noone would use | deraadt | 2014-04-17 | 1 | -24/+0 |
| | | | | ok miod | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 1 | -17/+17 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | TANSTAAFL - delete the buf freelist code. if you need a better malloc, get | tedu | 2014-04-16 | 1 | -37/+0 |
| | | | | a better malloc. ok beck deraadt | ||||
* | add back SRP. i was being too greedy. | tedu | 2014-04-16 | 1 | -0/+6 |
| | |||||
* | disentangle SRP code from TLS | tedu | 2014-04-16 | 1 | -6/+0 |
| | |||||
* | Kill the bogus "send an SSLv3/TLS hello in SSLv2 format" crap from | guenther | 2014-04-16 | 1 | -52/+32 |
| | | | | | | | | | the SSLv23_* client code. The server continues to accept it. It also kills the bits for SSL2 SESSIONs; even when the server gets an SSLv2-style compat handshake, the session that it creates has the correct version internally. ok tedu@ beck@ | ||||
* | remove FIPS mode support. people who require FIPS can buy something that | tedu | 2014-04-15 | 1 | -7/+0 |
| | | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok miod | ||||
* | First pass at applying KNF to the OpenSSL code, which almost makes it | jsing | 2014-04-14 | 1 | -1559/+1600 |
| | | | | | readable. This pass is whitespace only and can readily be verified using tr and md5. | ||||
* | remove last vestiges of OPENSSL_SYS_XXX from src/ssl | beck | 2014-04-14 | 1 | -4/+0 |
| | | | | ok deraadt@ | ||||
* | Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery. | miod | 2014-04-13 | 1 | -6/+20 |
| | |||||
* | resolve conflicts | djm | 2012-10-13 | 1 | -22/+225 |
| | |||||
* | OpenSSL 1.0.0f: merge | djm | 2012-01-05 | 1 | -0/+3 |
| | |||||
* | openssl-1.0.0e: resolve conflicts | djm | 2011-11-03 | 1 | -32/+15 |
| | |||||
* | resolve conflicts, fix local changes | djm | 2010-10-01 | 1 | -129/+485 |
| | |||||
* | resolve conflicts | djm | 2009-04-06 | 1 | -0/+2 |
| |