Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KNF. | jsing | 2014-05-26 | 12 | -2886/+3110 |
| | |||||
* | move all stats collecting under MALLOC_STATS; ok krw@ | otto | 2014-05-26 | 1 | -28/+33 |
| | |||||
* | Fix resource descriptor leaks. | logan | 2014-05-25 | 1 | -0/+4 |
| | | | | | | CID: 966576 & 966577 OK from guenther@ and "Yup. looks good." from tedu@ | ||||
* | -noout mentions a CRL, which is incorrect. Use "no output of encoded session | logan | 2014-05-25 | 1 | -1/+1 |
| | | | | | | | | info." instead. From Martin Kaiser. OK from tedu@ | ||||
* | heartbearts->heartbeats fix | logan | 2014-05-25 | 2 | -2/+2 |
| | | | | | | From Marcos Marado: OK from tedu@ | ||||
* | calloc instead of malloc/memset. from Benjamin Baier | tedu | 2014-05-25 | 26 | -80/+42 |
| | |||||
* | "for every change..." | tedu | 2014-05-25 | 2 | -2/+2 |
| | |||||
* | remove OPENSSL_memcmp before somebody tries to use it. ok beck miod | tedu | 2014-05-25 | 2 | -12/+0 |
| | |||||
* | remove OPENSSL_isservice. not used internally, no sane posix software will | tedu | 2014-05-25 | 2 | -12/+0 |
| | | | | | call it, and windows service software can figure this out on its own. ok beck miod | ||||
* | remove unused shit. from Alexander Schrijver | tedu | 2014-05-25 | 8 | -42/+4 |
| | |||||
* | define LIBRESSL_INTERNAL, and use it to hide the bad stuff from ourselves | tedu | 2014-05-25 | 4 | -4/+8 |
| | | | | ok beck | ||||
* | Remove TLS_DEBUG, SSL_DEBUG, CIPHER_DEBUG and OPENSSL_RI_DEBUG. Much of | jsing | 2014-05-25 | 18 | -296/+0 |
| | | | | | | | this is sporadic, hacked up and can easily be put back in an improved form should we ever need it. ok miod@ | ||||
* | There is little interest in supporting Watt-32 TCP/IP debugging. For | deraadt | 2014-05-25 | 1 | -7/+0 |
| | | | | | reference, check out http://www.watt-32.net/ ok jsing | ||||
* | Turn off MemCheck_on and MemCheck_off. These calls are pointless since the | jsing | 2014-05-25 | 4 | -30/+6 |
| | | | | | | crypto memory debugging code has been castrated. ok miod@ "kill it" beck@ | ||||
* | The ssl_ciper_get_evp() function is currently overloaded to also return the | jsing | 2014-05-25 | 13 | -62/+107 |
| | | | | | | | | | | | compression associated with the SSL session. Based on one of Adam Langley's chromium diffs, factor out the compression handling code into a separate ssl_cipher_get_comp() function. Rewrite the compression handling code to avoid pointless duplication and so that failures are actually returned to and detectable by the caller. ok miod@ | ||||
* | Whitespace fixes to align define values. | jsing | 2014-05-25 | 2 | -170/+172 |
| | |||||
* | In ssl_cipher_get_evp(), fix off-by-one in index validation before accessing | miod | 2014-05-24 | 2 | -4/+4 |
| | | | | | | arrays. "kind of scary" deraadt@, ok guenther@ | ||||
* | I'm so sorry to learn that the Diab compiler can't (or used not to) parse C | miod | 2014-05-24 | 2 | -10/+2 |
| | | | | code. Remove workaround. | ||||
* | Use C99 initialisers for SSL3_ENC_METHOD structs. | jsing | 2014-05-24 | 8 | -108/+126 |
| | | | | ok miod@ | ||||
* | Remove the _shadow_ indirection, which is unnecessary in a world without | jsing | 2014-05-24 | 6 | -14/+8 |
| | | | | | | OPENSSL_EXPORT_VAR_AS_FUNCTION. ok miod@ | ||||
* | KNF. | jsing | 2014-05-24 | 30 | -4436/+3826 |
| | |||||
* | More KNF. | jsing | 2014-05-24 | 2 | -4/+4 |
| | |||||
* | Add the RFC 7027 test vectors; from OpenSSL HEAD | miod | 2014-05-24 | 1 | -0/+171 |
| | |||||
* | KNF. | jsing | 2014-05-24 | 8 | -182/+182 |
| | |||||
* | Enable three brainpool elliptic curves for TLS, as specified in RFC 7027; | miod | 2014-05-24 | 2 | -2/+26 |
| | | | | | | from OpenSSL HEAD. ok beck@ deraadt@ jsing@ | ||||
* | Code using malloc() in ssl23_get_client_hello() got removed 12 years ago, | miod | 2014-05-24 | 2 | -64/+54 |
| | | | | | it's time to remove the test for a possible need to free(). ok jsing@ | ||||
* | Use sizeof(cryptopro_ext) instead of 36 when applicable. | miod | 2014-05-24 | 2 | -8/+8 |
| | | | | ok jsing@ | ||||
* | Invoke OPENSSL_cleanse() with the size of the variable you are cleaning. | miod | 2014-05-24 | 2 | -2/+2 |
| | | | | ok jsing@ | ||||
* | We have shared global variables - unifdef OPENSSL_EXPORT_VAR_AS_FUNCTION. | jsing | 2014-05-24 | 5 | -146/+0 |
| | | | | ok miod@ beck@ | ||||
* | Move ssltest.c to a regress test. | jsing | 2014-05-24 | 7 | -0/+330 |
| | |||||
* | remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests. | beck | 2014-05-24 | 6 | -77/+22 |
| | | | | ok miod@ jsing@ guenther@ | ||||
* | make this compile again - actually include stdio and friends ourselves. | beck | 2014-05-24 | 1 | -1/+3 |
| | |||||
* | Move the regress tests that are in lib/libssl to usr.sbin/openssl, | jsing | 2014-05-24 | 8 | -245/+0 |
| | | | | | | | since they are really testing openssl(1) (although this also tests libcrypto and libssl), rather than actual parts of the libssl library. Discussed with miod@ | ||||
* | Expand the OPENSSL_.*GLOBAL.* macros and stop including e_os2.h. | jsing | 2014-05-24 | 6 | -16/+14 |
| | | | | ok miod@ beck@ | ||||
* | Include <openssl/opensslconf.h> - currently ssl.h is relying on it being | jsing | 2014-05-24 | 2 | -2/+4 |
| | | | | | | | pulled in elsewhere, even though it is makes use of the OPENSSL_NO_* defines. While here, remove kssl.h since it is a no-op. ok beck@ miod@ | ||||
* | DeIMPLEMENT libssl. Expand the IMPLEMENT_* macros since it is far more | jsing | 2014-05-24 | 24 | -412/+1308 |
| | | | | | | | | readable and one less layer of abstraction. Use C99 initialisers for clarity, grepability and to protect from future field reordering/removal. ok miod@ (tedu@ also thought it was a wonderful idea, beck@ also agreed, but ran away squealing since it reminded him of the VOP layer...) | ||||
* | Another e_os2.h -> opensslconf.h. | jsing | 2014-05-24 | 2 | -2/+6 |
| | |||||
* | e_os2.h is not needed here. | jsing | 2014-05-24 | 2 | -2/+2 |
| | |||||
* | Explicitly include <openssl/openssl.conf>. des.h still needs e_os2.h (at | jsing | 2014-05-24 | 2 | -4/+6 |
| | | | | least for a little while longer...) | ||||
* | Almost nothing actually needs to include <openssl/e_os2.h>, however by | jsing | 2014-05-24 | 52 | -56/+98 |
| | | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@ | ||||
* | Expand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around, | jsing | 2014-05-24 | 4 | -4/+4 |
| | | | | | | since they are hiding in the #define forest. ok miod@ | ||||
* | Spell ssize_t correctly (the incorrect spelling is ossl_ssize_t). | jsing | 2014-05-24 | 8 | -30/+30 |
| | | | | ok miod@ | ||||
* | No OPENSSL_SYS_WINDOWS wanted. | jsing | 2014-05-24 | 2 | -6/+0 |
| | | | | ok miod@ | ||||
* | Take an axe to rc5speed.c - strip out everything that is for other | jsing | 2014-05-23 | 2 | -168/+18 |
| | | | | platforms. | ||||
* | We have stdio and are not WIN16. | jsing | 2014-05-23 | 2 | -4/+0 |
| | |||||
* | Not OPENSSL_SYS_SUNOS. | jsing | 2014-05-23 | 2 | -6/+0 |
| | |||||
* | Clean up the SSL cipher initialisation and use C99 initialisers for | jsing | 2014-05-23 | 2 | -3418/+3424 |
| | | | | | | clarity, grepability and to protect from future field reordering/removal. ok miod@ | ||||
* | signal.h is not needed here. | jsing | 2014-05-23 | 1 | -1/+0 |
| | |||||
* | Stop pulling signal.h into apps.h - just include it from openssl.c where | jsing | 2014-05-23 | 2 | -2/+1 |
| | | | | it is needed. | ||||
* | Replace (sometimes conditional) use of alloca with malloc, and clearing | miod | 2014-05-23 | 4 | -78/+32 |
| | | | | | | through volatile pointers with explicit_bzero(). ok beck@ jsing@ |