Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use nanosleep instead of sleep to avoid the extra layer and simplify later | guenther | 2015-08-30 | 1 | -5/+8 |
| | | | | | | symbol hiding ok w/tweak deraadt@ | ||||
* | Now that SSLv3 is going away, TLS_* and SSLv23 are equivalent. | doug | 2015-08-29 | 7 | -288/+12 |
| | | | | | | Remove the TLS method data and tls_any_* functions. Point to SSLv23. ok jsing@ | ||||
* | Delete s3_meth.c since it was only for SSLv3 support. | doug | 2015-08-29 | 1 | -103/+0 |
| | | | | ok jsing@ | ||||
* | Remove SSLv3 method data structs and unlink s3_meth.c from the build. | doug | 2015-08-29 | 5 | -164/+6 |
| | | | | ok jsing@ | ||||
* | Kill coverity 128475 | beck | 2015-08-28 | 2 | -4/+4 |
| | | | | ok doug@ | ||||
* | Improve libtls error messages. | jsing | 2015-08-27 | 5 | -55/+101 |
| | | | | | | | | | | | | The tls_set_error() function previously stored the errno but did nothing with it. Change tls_set_error() to append the strerror(3) of the stored errno so that we include useful information regarding failures. Provide a tls_set_errorx() function that does not store the errno or include strerror(3) in the error message. Call this function instead of tls_set_error() for errors where the errno value has no useful meaning. With feedback from and ok doug@ | ||||
* | Split the persistent/configuration flags from temporary state flags and | jsing | 2015-08-27 | 3 | -11/+14 |
| | | | | | | | | | | | ensure that the temporary state flags get cleared in tls_reset(). Fixes a bug spotted by Marko Kreen whereby TLS_CONNECTING could remain on reset. While here, also move the TLS_STATE_CONNECTING check to after the TLS_CLIENT check - if TLS_STATE_CONNECTING was ever set on any other context type it would allow a bypass. ok bluhm@ | ||||
* | Change AEAD out_len argument to size_t instead of ssize_t - while here, | jsing | 2015-08-27 | 2 | -20/+16 |
| | | | | | | | rename it to out_len so that its purpose is more obvious. Also, drop two checks that are no longer possible (and have not been for a long time). Spotted by and ok doug@ | ||||
* | Remove SSLv3 support from LibreSSL regression tests. | doug | 2015-08-27 | 3 | -56/+5 |
| | |||||
* | Make functions that are internal to tls verify static. | jsing | 2015-08-27 | 1 | -7/+8 |
| | | | | | | Spotted by Marko Kreen. Rides libtls major bump. | ||||
* | Crank major version for libssl and libtls due to SSLv3 removal. | doug | 2015-08-27 | 3 | -3/+3 |
| | |||||
* | Remove SSLv3 support from LibreSSL. | doug | 2015-08-27 | 20 | -178/+36 |
| | | | | | | | | | | This is the first wave of SSLv3 removal which removes the main SSLv3 functions. Future commits will remove the rest of the SSLv3 support. Discussed the plan at c2k15. Input from jsing@, beck@, miod@, bcook@, sthen@, naddy@, and deraadt@. ok jsing@, beck@ | ||||
* | Use static and __{BEGIN,ENV}_HIDDEN_DECLS to hide a bunch of internal | guenther | 2015-08-27 | 2 | -4/+7 |
| | | | | | | symbols that are not longer exported. (This improves the generated code.) ok deraadt@ | ||||
* | Move the __rand48_* declarations into rand48.h, and then hide both them | guenther | 2015-08-27 | 7 | -25/+13 |
| | | | | | | and __dorand48() and __rand48_deterministic ok deraadt@ | ||||
* | unify versions, so they are easier to diff. | deraadt | 2015-08-25 | 8 | -18/+18 |
| | |||||
* | KNF | deraadt | 2015-08-25 | 2 | -12/+8 |
| | |||||
* | ISO8859-1 support has been removed | guenther | 2015-08-23 | 1 | -8/+1 |
| | | | | ok semarie@ | ||||
* | Remove all duplicate prototypes for *_main functions (these are already | jsing | 2015-08-22 | 42 | -185/+102 |
| | | | | | | | | | provided by progs.h). Also, move the FUNCTION type (and flags) into openssl.c since that is the only place of use. Lastly, remove pointless 'extern' from the prototypes and use char **argv instead of char *argv[] (the former is used elsewhere). ok deraadt@ doug@ | ||||
* | Unify error message between client and server. | jsing | 2015-08-22 | 1 | -2/+2 |
| | |||||
* | SSL_set_app_data is a macro for SSL_set_ex_data(), which is a wrapper | jsing | 2015-08-22 | 2 | -6/+10 |
| | | | | | around CRYPTO_set_ex_data(), which can fail. Since this is the case, check the return value of CRYPTO_set_ex_data^WSSL_set_ex_data^WSSL_set_app_data. | ||||
* | Store a reference to the libtls context in the SSL client connection app | jsing | 2015-08-22 | 1 | -1/+3 |
| | | | | | | data (as is already done for server connections). From Marko Kreen. | ||||
* | Make tls_read()/tls_write always set outlen to zero on error - this got | jsing | 2015-08-22 | 1 | -5/+5 |
| | | | | | | broken by r1.4. Spotted by Marko Kreen. | ||||
* | All these files include <stdlib.h>, so do not need to cast | deraadt | 2015-08-20 | 2 | -5/+5 |
| | | | | malloc/calloc/realloc* returns. | ||||
* | bump to 2.3.0 for the next LibreSSL release cycle | bcook | 2015-08-20 | 2 | -6/+6 |
| | |||||
* | Properly handle missing TLS extensions in client hello as a non-failure. | bcook | 2015-08-19 | 2 | -2/+6 |
| | | | | | Noticed by @Ligushka from github. ok miod@, doug@ | ||||
* | bring prototypes into scope, requires movement of a large global object | deraadt | 2015-08-19 | 8 | -202/+208 |
| | | | | | out of .h file ok jsing | ||||
* | typos | miod | 2015-08-18 | 10 | -10/+10 |
| | |||||
* | Improve openssl s_client -starttls xmpp support. | landry | 2015-08-11 | 2 | -7/+28 |
| | | | | | | | | | From https://rt.openssl.org/Ticket/Display.html?id=2860&user=guest&pass=guest - add a -xmpphost option to specify the xmpp virtual host - fix an infinite loop when the vhost isnt what the server expects - fix communication with openfire & prosody servers with tweaks & ok bcook@ doug@ manpage bits jmc@ | ||||
* | spelling; ok deraadt | jmc | 2015-08-02 | 2 | -4/+4 |
| | |||||
* | remove ssl3 bits; ok doug | jmc | 2015-08-02 | 1 | -58/+14 |
| | |||||
* | Don't hardcode /usr/src, use BSDSRCDIR | tobiasu | 2015-07-31 | 1 | -2/+2 |
| | |||||
* | Fix SRTP parsing. | doug | 2015-07-31 | 2 | -6/+4 |
| | | | | | | | jsing@ noticed that during the CBS conversion, an extra CBS_len comparison was introduced. It should be 0 after extracting MKI. ok jsing@ bcook@ deraadt@ | ||||
* | Add linker warnings in case SSLv3_{,client,server}_method are referenced. | miod | 2015-07-29 | 5 | -5/+35 |
| | | | | | | | Use of this symbols proves the existence of a code path willingly using SSLv3, even with OPENSSL_NO_SSL3 being defined, which hints that it needs fixing. Discussed with the LibreSSL cabal during c2k15; ok deraadt@ | ||||
* | Use named initialisers for X509V3_EXT_METHOD structs (for the usual | jsing | 2015-07-29 | 38 | -456/+1176 |
| | | | | reasons) - only change in generated assembly is due to line numbering. | ||||
* | Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated | jsing | 2015-07-29 | 40 | -108/+108 |
| | | | | | | assembly. ok bcook@ | ||||
* | Expand obsolete M_ASN1_STRING_* macros in asn1_lib.c, apply some style(9) | jsing | 2015-07-29 | 2 | -12/+10 |
| | | | | | | and drop an unnecessary return from a void function. ok bcook@ doug@ | ||||
* | use file system path (.Pa) semantic markup macros where appropriate. | sobrado | 2015-07-27 | 1 | -7/+7 |
| | | | | ok jmc@ | ||||
* | Less asn1_mac.h - asn1_lib.c does not need it and x_pkey.c should be | jsing | 2015-07-27 | 4 | -20/+10 |
| | | | | | | using ASN1err() instead of ASN1_MAC_H_err(). ok miod@ | ||||
* | remove unused variable | chl | 2015-07-26 | 1 | -2/+2 |
| | | | | ok tedu@ | ||||
* | double words fix; docs are slowly getting moved to mdoc, but this | sobrado | 2015-07-25 | 4 | -4/+4 |
| | | | | | | change will help people translating them. ok jmc@, schwarze@ | ||||
* | Place the ASN.1 template macros (and remaining implement macros) under | jsing | 2015-07-25 | 2 | -6/+12 |
| | | | | #ifndef LIBRESSL_INTERNAL - we're not using these anymore! | ||||
* | double word fix. | sobrado | 2015-07-25 | 1 | -2/+2 |
| | | | | ok jmc@, schwarze@ | ||||
* | Expand another ASN.1 template macro that snuck through last time around. | jsing | 2015-07-25 | 2 | -4/+16 |
| | | | | No change in generated assembly. | ||||
* | Manually expand ASN.1 template macros - only change in generated assembly | jsing | 2015-07-25 | 6 | -32/+80 |
| | | | | is due to line numbering. | ||||
* | Expand ASN.1 template macros that got missed in the last pass - only change | jsing | 2015-07-25 | 6 | -22/+62 |
| | | | | to generated assembly is due to line numbers. | ||||
* | Expand ASN.1 template macros - the generated assembly only differs by | jsing | 2015-07-25 | 26 | -282/+1612 |
| | | | | changes to line numbers. | ||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 2 | -112/+588 |
| | |||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 2 | -178/+1090 |
| | |||||
* | Expand another wall of ASN.1 template macros - no change to generated | jsing | 2015-07-25 | 2 | -448/+2714 |
| | | | | assembly. | ||||
* | Expand ASN.1 template macros - no change in generated assembly. | jsing | 2015-07-25 | 4 | -272/+1694 |
| |