Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-31 | Fix SRTP parsing. | Doug Hogan | |
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@ | |||
2015-07-29 | Add linker warnings in case SSLv3_{,client,server}_method are referenced. | Miod Vallat | |
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@ | |||
2015-07-29 | Use named initialisers for X509V3_EXT_METHOD structs (for the usual | Joel Sing | |
reasons) - only change in generated assembly is due to line numbering. | |||
2015-07-29 | Expand obsolete M_ASN1.*(cmp|dup|print|set) macros - no change in generated | Joel Sing | |
assembly. ok bcook@ | |||
2015-07-29 | Expand obsolete M_ASN1_STRING_* macros in asn1_lib.c, apply some style(9) | Joel Sing | |
and drop an unnecessary return from a void function. ok bcook@ doug@ | |||
2015-07-27 | Less asn1_mac.h - asn1_lib.c does not need it and x_pkey.c should be | Joel Sing | |
using ASN1err() instead of ASN1_MAC_H_err(). ok miod@ | |||
2015-07-25 | double words fix; docs are slowly getting moved to mdoc, but this | Igor Sobrado | |
change will help people translating them. ok jmc@, schwarze@ | |||
2015-07-25 | Place the ASN.1 template macros (and remaining implement macros) under | Joel Sing | |
#ifndef LIBRESSL_INTERNAL - we're not using these anymore! | |||
2015-07-25 | Expand another ASN.1 template macro that snuck through last time around. | Joel Sing | |
No change in generated assembly. | |||
2015-07-25 | Manually expand ASN.1 template macros - only change in generated assembly | Joel Sing | |
is due to line numbering. | |||
2015-07-25 | Expand ASN.1 template macros that got missed in the last pass - only change | Joel Sing | |
to generated assembly is due to line numbers. | |||
2015-07-25 | Expand ASN.1 template macros - the generated assembly only differs by | Joel Sing | |
changes to line numbers. | |||
2015-07-25 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-25 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-25 | Expand another wall of ASN.1 template macros - no change to generated | Joel Sing | |
assembly. | |||
2015-07-25 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-25 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-25 | Expand ASN.1 template macros - the generated assembly only differs by | Joel Sing | |
changes to line numbers. | |||
2015-07-24 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-24 | Expand ASN.1 template macros - no change in generated assembly. | Joel Sing | |
2015-07-24 | Expand ASN.1 template macros - the generated assembly only differs by | Joel Sing | |
changes to line numbers. | |||
2015-07-24 | an TLS -> a TLS; from thanos tsouanas | Jason McIntyre | |
2015-07-24 | Expand ASN1_ITEM_TEMPLATE/ASN1_EX_TEMPLATE_TYPE/ASN1_ITEM_TEMPLATE_END | Joel Sing | |
macros - the generated assembly only differs by changes to line numbers. | |||
2015-07-24 | Expand IMPLEMENT_ASN1_MSTRING macros - the generated assembly only differs | Joel Sing | |
by changes to line numbers. | |||
2015-07-24 | Convert tls1_process_ticket to CBS. | Doug Hogan | |
ok miod@ jsing@ | |||
2015-07-24 | Convert tls1_process_sigalgs to CBS. | Doug Hogan | |
ok miod@ jsing@ | |||
2015-07-24 | Convert ssl3_get_record to CBS. | Doug Hogan | |
ok miod@ jsing@ | |||
2015-07-21 | Remove duplicate check in libssl. | Doug Hogan | |
If len == 0, it already set try_session_cache so there's no need to check len again. Fixes Coverity issue 21687. ok bcook@ | |||
2015-07-20 | Correct #if/else logic in BIO's dgram_ctrl. | Doug Hogan | |
Coverity issue 72741 noticed that ret is being overwritten before use. The actual issue is that the #if/else logic is guarding the wrong lines. Besides impacting ret, this also made the case's break logic wrong because it was in the wrong location. ok bcook@ beck@ | |||
2015-07-20 | prefer string.h to strings.h ok guenther@ doug@ | Brent Cook | |
2015-07-20 | Various memory leaks upon error or unchecked allocations. | Miod Vallat | |
ok doug@ | |||
2015-07-20 | Use V_ASN1_UNDEF instead of -1. | Miod Vallat | |
Make sure ASN1_primitive_new() will return NULL in *pval in all error situations. ok bcook@ doug@ | |||
2015-07-20 | Check the return value of asn1_enc_save(). ok bcook@ doug@ | Miod Vallat | |
2015-07-20 | When freeing an X509_CRL, if freeing the user-maintained meth_data fails, | Miod Vallat | |
do not forgot to nevertheless keep freeing the other fields. ok doug@ guenther@ | |||
2015-07-20 | In X509_PKEY_new(), make sure all allocation failures push an error to the | Miod Vallat | |
error stack, not only the first one. ok guenther@ doug@ | |||
2015-07-19 | Remove OpenSSL engine RSAX. | Doug Hogan | |
OpenSSL stopped building it last year and removed it this year. Based on OpenSSL commit c436e05bdc7f49985a750df64122c960240b3ae1. Also cranked major version in libcrypto, libssl and libtls. "fine with me" bcook@ miod@ | |||
2015-07-19 | Allow *_free() functions in libssl to handle NULL input. | Doug Hogan | |
This mimics free()'s behavior which makes error handling simpler. ok bcook@ miod@ | |||
2015-07-19 | Drop stupid (int) casts for the arguments of malloc() and friends. This is | Miod Vallat | |
not 16-bit MS-DOS anymore. ok bcook@ tedu@ | |||
2015-07-19 | unifdef -UCBC_HANDLES_TRUNCATED_IO | Miod Vallat | |
ok bcook@ doug@ | |||
2015-07-19 | Verify ASN1 objects types before attempting to access them as a particular | Miod Vallat | |
type. ok guenther@ doug@ | |||
2015-07-19 | Convert ssl3_get_certificate_request to CBS. | Doug Hogan | |
ok miod@ | |||
2015-07-19 | Fix symbol collision with libtls. | Doug Hogan | |
Pointed out by guenther. ok guenther@ | |||
2015-07-19 | Add TLS_method, TLS_client_method and TLS_server_method. | Doug Hogan | |
Use these instead of SSLv23_*method when you want to make sure TLS is used. By default, we disable SSLv3 but it's still possible for the user to re-enable it. TLS_*method does not allow SSLv3. Both BoringSSL and (next version of) OpenSSL have these methods. However, they have changed the implementation significantly. We will as well, but not right now. Riding the libssl major bump. ok miod@ bcook@ | |||
2015-07-19 | Crank major and remove legacy variables. | Doug Hogan | |
Libtls is riding this crank. ok miod@ bcook@ | |||
2015-07-19 | Now that it is safe to invoke X509_STORE_CTX_cleanup() if X509_STORE_CTX_init() | Miod Vallat | |
fails, check its return value and correctly mop up after ourselves. ok beck@ doug@ | |||
2015-07-19 | Put explicit braces around assignment used in a conditional. | Miod Vallat | |
ok bcook@ doug@ | |||
2015-07-19 | Remove the logic responsible for outputting most AES-NI instructions as | Miod Vallat | |
raw byte sequences. The toolchains have had some time to update and assemble the instructions correctly (except for p{ins,ext}rd which are not supported yet by as(1) under OpenBSD, but will be fixed shortly). Inspired by a discussion between tedu@ and John-Mark Gurney. Verified to still work on Mac OS X and average Linux distros by bcook@ | |||
2015-07-19 | Replace `.byte 0x48,0x83,0xEC,0x08' with `sub \$8,%rsp' which is exactly the | Miod Vallat | |
same four bytes, unobfuscated. | |||
2015-07-19 | Simplify X509_STORE_CTX_init and make it safe with stack variables. | Doug Hogan | |
The current version is not safe with stack variables because it may return prematurely with a partially constructed object on error. ok miod@ a while back | |||
2015-07-19 | Remove case that can never happen. | Doug Hogan | |
It's a little convoluted due to gotos, but at that point, pci is always NULL. Spotted by Coverity 21702. ok miod@ beck@ bcook@ |